diff options
Diffstat (limited to 'main.go')
-rw-r--r-- | main.go | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -52,6 +52,9 @@ func main() { } if err != nil { + if errorMessage, known := app.KnownError(err); known { + log.Fatal(errorMessage) + } newErr := errors.Wrap(err, 0) stackTrace := newErr.ErrorStack() app.Log.Error(stackTrace) |