1
0
mirror of https://github.com/amir20/dozzle.git synced 2025-12-21 13:23:07 +01:00

fixes log

This commit is contained in:
Amir Raminfar
2025-10-16 07:07:03 -07:00
parent 3cc5d4c8b4
commit 3fb9e8f787

View File

@@ -24,7 +24,7 @@ func ReadCertificates(certs embed.FS) (tls.Certificate, error) {
log.Info().Str("cert", paths.cert).Str("key", paths.key).Msg("Loaded custom dozzle certificate and key") log.Info().Str("cert", paths.cert).Str("key", paths.key).Msg("Loaded custom dozzle certificate and key")
return pair, nil return pair, nil
} else if !os.IsNotExist(err) { } else if !os.IsNotExist(err) {
log.Fatal().Err(err).Str("cert", paths.cert).Str("key", paths.key).Msg("Failed to load custom dozzle certificate and key. Stopping...") log.Debug().Err(err).Str("cert", paths.cert).Str("key", paths.key).Msg("Failed to load custom dozzle certificate and key, trying next path...")
} }
} }