Show stack on error better
This commit is contained in:
parent
2d0faadeb6
commit
7f8e0cc66b
2
wings.go
2
wings.go
|
@ -70,7 +70,7 @@ func main() {
|
||||||
}
|
}
|
||||||
|
|
||||||
if err := server.LoadDirectory("data/servers", &c.System); err != nil {
|
if err := server.LoadDirectory("data/servers", &c.System); err != nil {
|
||||||
zap.S().Fatalw("failed to load server configurations", zap.Error(err))
|
zap.S().Fatalw("failed to load server configurations", zap.Error(errors.WithStack(err)))
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user