diff --git a/main.go b/main.go index a40b98b..32f5b48 100644 --- a/main.go +++ b/main.go @@ -382,7 +382,7 @@ func main() { _, err := toml.DecodeFile(*configFile, &app.cfg) if err != nil { - panic(err) + log.Fatalf("toml.DecodeFile: %s", err.Error()) } // Assert Gitea URL always has trailing slash