Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove dependency on error packages #238

Closed
rhcarvalho opened this issue Jun 3, 2020 · 0 comments
Closed

Remove dependency on error packages #238

rhcarvalho opened this issue Jun 3, 2020 · 0 comments

Comments

@rhcarvalho
Copy link
Contributor

Summary

At the moment sentry-go has (test) dependency on: github.com/pkg/errors, github.com/go-errors/errors and github.com/pingcap/errors.

Those are not strictly necessary, because all we care about is replicating the particular behavior of those libraries (extended interfaces on their specific error types).

Seldom, but surely, our CI fails unnecessarily because of changes in those dependencies, see
#235 (comment).

In raven-go, this very same removal (for pkg/errors) has been done in getsentry/raven-go#228.

Steps To Reproduce

This is an example of CI failure because of the dependency, but unrelated to the functionality we care about:

Expected Behavior

sentry-go should not depend on the packages listed above. CI should not fail if any of those packages are broken.

Screenshots

image

SDK

  • sentry-go version: master
  • Go version: any
  • Using Go Modules? [yes/no] no

Additional context

This is also related to #156, as it would reduce the number of entries in go.mod.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants