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

Add Sentry error reporting #128

Merged
merged 2 commits into from Jan 14, 2019
Merged

Conversation

koenpunt
Copy link
Contributor

@koenpunt koenpunt commented Jan 11, 2019

This PR adds support for logging error to Sentry.

The Sentry client already supports setup using environment variables (when the library is included a default client is created using them), but I'm not sure if we want to rely on that from within imgproxy, so I created a dedicated client instead.

Alternative would be to use the default client, but configure it using the imgproxy config.

Nevermind, I'm using the default client now.

Fixes #125

@koenpunt koenpunt force-pushed the sentry-error-reporting branch 2 times, most recently from 072c269 to 1b0e0f3 Compare January 11, 2019 10:48
@DarthSim
Copy link
Member

DarthSim commented Jan 11, 2019

Looks great to me, thanks!

Please, fix the link to the error reporting section in README. It became broken when you changed the header

@koenpunt
Copy link
Contributor Author

Done!

@DarthSim DarthSim merged commit 575960e into imgproxy:master Jan 14, 2019
@DarthSim
Copy link
Member

Merged. Thanks for your contribution again!

@koenpunt koenpunt deleted the sentry-error-reporting branch January 15, 2019 13:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants