app: swap panic for log.Fatalf

This commit is contained in:
mappu 2020-11-19 10:16:33 +13:00
parent a27831e49b
commit dbb915a226

View File

@ -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