Skip to content

Commit 8511d39

Browse files
committed
Log error, if certificate is not found (#598)
Close #78
1 parent a80547b commit 8511d39

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
@@ -369,6 +369,7 @@ func loop() {
369369
go func() {
370370
// check if certificates exist; if not, use plain http
371371
if _, err := os.Stat(filepath.Join(dest, "cert.pem")); os.IsNotExist(err) {
372+
log.Error("Could not find HTTPS certificate. Using plain HTTP only.")
372373
return
373374
}
374375

0 commit comments

Comments
 (0)