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

Empty error messages cause sentry to discard errors #52

Open
mightyguava opened this issue Jun 19, 2017 · 0 comments
Open

Empty error messages cause sentry to discard errors #52

mightyguava opened this issue Jun 19, 2017 · 0 comments

Comments

@mightyguava
Copy link
Contributor

We are seeing stacktraces for errors that have no error message string get discarded by sentry, with the message Discarded invalid value for parameter 'exception'.

I think it's due to #49. We use a custom config so SendExceptionType defaulted to false. Sentry rejects the exception if neither value nor type is set. This is the now case when an error with no error message is sent...

While creating errors with no message doesn't really make sense, it does happen (like from thirdparty libraries, and from errors generated from http requests). Not sure what the right solution here would be. Maybe either ignore the option if Error() returns empty string, or substitute some other value like "<empty message>"?

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

No branches or pull requests

1 participant