Rodolfo Carvalho
Rodolfo Carvalho
Hi @yonderblue do you have an example Sentry event where the limit affects interpreting the issue? --- > or don't reverse the event.Exception The [reversing](https://github.com/getsentry/sentry-go/blob/52d9d61d62adeb119e7fcad960e4aea47ac07f69/client.go#L427-L428) is done as part of...
> I didn't realize there was a user setting for the default order, that solves that. Glad it helps :) > However the max depth causes a loss of needed...
@yonderblue hey, sorry I'm OoO with limited connectivity. Until Sentry's backend would support customizing the title of issues, what you can do in the short term is indeed mutate the...
Global state seems to play a role here. Running: ``` go test -count=150000 -failfast -run '^TestContextifyFrames$' ``` Could not reproduce the failure, while running all tests reproduces it with a...
In `sourceReader.readContextLines` we always do the same regardless of the error from `ioutil.ReadFile`. https://github.com/getsentry/sentry-go/blob/a1aa34ce36838f6349c403fd2b195a642421fe67/sourcereader.go#L27-L30 Sometimes the error can be transient: ```diff diff --git a/sourcereader.go b/sourcereader.go index 2d35768..f2f552f 100644 --- a/sourcereader.go...
It is possible to instrument tests to print a list of open file descriptors on failure: ```diff diff --git a/integrations_test.go b/integrations_test.go index 86719e3..1dd763d 100644 --- a/integrations_test.go +++ b/integrations_test.go @@ -1,9...
This is another example https://github.com/getsentry/sentry-go/issues/98#issue-530312849
```go gitlab.com/gitlab-org/gitaly/internal/dontpanic/retry.go 32- 33- func() { 34- defer func() { 35- recovered = recover() 36- if err, ok := recovered.(error); ok { 37: id = sentry.CaptureException(err) 38- } 39- }()...
```go github.com/anshap1719/go-authentication/utils/log/log.go 18- res, err := e(ctx, req) 19- 20- if err != nil { 21- reqID := ctx.Value(middleware.RequestIDKey).(string) 22- 23: event := sentry.CaptureException(errors.WithMessagef(err, "[%s]: [%s] ERROR: %s", prefix, reqID,...
```go github.com/cockroachdb/errors/report/report.go 202: res := sentry.CaptureEvent(event) 203- if res != nil { 204- eventID = string(*res) 205- } 206- return ``` User code typically have to convert to string anyway......