You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When processing an error which includes a URL like https://google.com this library will mark the scheme (and any preceding text) as the error type.
Expected Behaviour
Errors like not found: we could not find the item you were looking for should have their type extracted correctly (not found) while errors containing URLs should ignore the URL for the purpose of extracting the error type.
Environment
Tell us about the environment you are using
Go Version: go version go1.13.2 windows/amd64 (go version)
Sentry Version: latest
Updated sentry-go.v2 (go get -u gopkg.in/SierraSoftworks/sentry-go.v2)
Reproduction Code
package main
import (
"fmt""os""gopkg.in/SierraSoftworks/sentry-go.v1"
)
funcmain() {
cl:=sentry.NewClient(
sentry.Release(fmt.Sprintf("#%s", os.Getenv("ISSUE_ID"))),
)
cl.Capture(
sentry.ExceptionForError(fmt.Errorf("GET https://google.com: 404 not found")),
)
}
The text was updated successfully, but these errors were encountered:
Problem Statement
When processing an error which includes a URL like
https://google.com
this library will mark the scheme (and any preceding text) as the error type.Expected Behaviour
Errors like
not found: we could not find the item you were looking for
should have their type extracted correctly (not found
) while errors containing URLs should ignore the URL for the purpose of extracting the error type.Environment
Tell us about the environment you are using
go version go1.13.2 windows/amd64
(go version
)latest
sentry-go.v2
(go get -u gopkg.in/SierraSoftworks/sentry-go.v2
)Reproduction Code
The text was updated successfully, but these errors were encountered: