Log errors
This commit is contained in:
parent
921402b0ee
commit
ab8e1ad7e2
|
@ -51,6 +51,7 @@ func Recovery(client *raven.Client, onlyCrashes bool) gin.HandlerFunc {
|
||||||
default:
|
default:
|
||||||
err = fmt.Errorf("%v - %#v", rval, rval)
|
err = fmt.Errorf("%v - %#v", rval, rval)
|
||||||
}
|
}
|
||||||
|
fmt.Println(err)
|
||||||
client.CaptureError(
|
client.CaptureError(
|
||||||
err,
|
err,
|
||||||
flags,
|
flags,
|
||||||
|
@ -66,6 +67,7 @@ func Recovery(client *raven.Client, onlyCrashes bool) gin.HandlerFunc {
|
||||||
if item.Type == gin.ErrorTypePrivate {
|
if item.Type == gin.ErrorTypePrivate {
|
||||||
err = item.Err
|
err = item.Err
|
||||||
}
|
}
|
||||||
|
fmt.Println(err)
|
||||||
client.CaptureError(
|
client.CaptureError(
|
||||||
err,
|
err,
|
||||||
flags,
|
flags,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user