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
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>"?
The text was updated successfully, but these errors were encountered:
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 tofalse
. Sentry rejects the exception if neithervalue
nortype
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>"
?The text was updated successfully, but these errors were encountered: