mirror of
https://github.com/pocketbase/pocketbase.git
synced 2026-11-08 13:07:25 +01:00
log the response error not the handler one
This commit is contained in:
1 parent
28bc2678e9
commit
6749559a22
1 file changed
+1
-1
+1
-1
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user