app: swap panic for log.Fatalf
This commit is contained in:
parent
a27831e49b
commit
dbb915a226
2
main.go
2
main.go
@ -382,7 +382,7 @@ func main() {
|
|||||||
|
|
||||||
_, err := toml.DecodeFile(*configFile, &app.cfg)
|
_, err := toml.DecodeFile(*configFile, &app.cfg)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
panic(err)
|
log.Fatalf("toml.DecodeFile: %s", err.Error())
|
||||||
}
|
}
|
||||||
|
|
||||||
// Assert Gitea URL always has trailing slash
|
// Assert Gitea URL always has trailing slash
|
||||||
|
Loading…
Reference in New Issue
Block a user