Skip to content

Commit

Permalink
log the response error not the handler one
Browse files Browse the repository at this point in the history
  • Loading branch information
ganigeorgiev committed Jul 14, 2022
1 parent 28bc267 commit 6749559
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apis/base.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ func InitApi(app core.App) (*echo.Echo, error) {

// truly rare case; eg. client already disconnected
if cErr != nil && app.IsDebug() {
log.Println(err)
log.Println(cErr)
}
}

Expand Down

0 comments on commit 6749559

Please sign in to comment.