Skip to content

Commit 31b4a98

Browse files
committed
Log error, if certificate is not found
Close #78 Signed-off-by: Hanno Braun <[email protected]>
1 parent b128bca commit 31b4a98

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

main.go

+1
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,7 @@ func main() {
238238
go func() {
239239
// check if certificates exist; if not, use plain http
240240
if _, err := os.Stat(filepath.Join(dest, "cert.pem")); os.IsNotExist(err) {
241+
log.Error("Could not find HTTPS certificate. Using plain HTTP only.")
241242
return
242243
}
243244

0 commit comments

Comments
 (0)