In Client.CaptureError(), NewStacktrace() is called with skip=1.
So, it properly skips the current function.
In in CaptureError() (the "global" function), DefaultClient.CaptureError is called, but the skip value is the same.
Iit doesn't skip the call to CaptureError().
In
Client.CaptureError()
,NewStacktrace()
is called withskip=1
. So, it properly skips the current function.In in
CaptureError()
(the "global" function),DefaultClient.CaptureError
is called, but theskip
value is the same. Iit doesn't skip the call toCaptureError()
.