2
0
forked from drew/smtprelay

Properly handle config parsing errors because logging is not setup yet

This commit is contained in:
Bernhard Froehlich
2022-05-23 14:17:39 +00:00
parent 26477177fe
commit 8cc31a918b

View File

@@ -201,9 +201,7 @@ func ConfigLoad() {
)
if err != nil {
//log.WithField("config_error", err).
// Fatal("Config parsing error")
os.Exit(0)
os.Exit(1)
}
// Set up logging as soon as possible