10000 fix: add an error message for a valueerror (#601) · etherscan-io/sentry-python@8ed8f45 · GitHub
[go: up one dir, main page]

Skip to content

Commit 8ed8f45

Browse files
RDILuntitakerdependabot-preview[bot]
committed
fix: add an error message for a valueerror (getsentry#601)
* fix: add an error message for a valueerror * build: Fix silent breakage by travis * build(deps): bump pytest-forked from 1.1.0 to 1.1.3 (getsentry#602) Bumps [pytest-forked](https://github.com/pytest-dev/pytest-forked) from 1.1.0 to 1.1.3. - [Release notes](https://github.com/pytest-dev/pytest-forked/releases) - [Changelog](https://github.com/pytest-dev/pytest-forked/blob/master/CHANGELOG) - [Commits](pytest-dev/pytest-forked@v1.1.0...v1.1.3) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> * build(deps): bump pytest-localserver from 0.4.1 to 0.5.0 (getsentry#603) Bumps [pytest-localserver](https://bitbucket.org/pytest-dev/pytest-localserver) from 0.4.1 to 0.5.0. - [Changelog](https://bitbucket.org/pytest-dev/pytest-localserver/src/default/CHANGES) - [Commits](https://bitbucket.org/pytest-dev/pytest-localserver/commits) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> * build(deps): bump pytest-cov from 2.6.0 to 2.8.1 (getsentry#607) Bumps [pytest-cov](https://github.com/pytest-dev/pytest-cov) from 2.6.0 to 2.8.1. - [Release notes](https://github.com/pytest-dev/pytest-cov/releases) - [Changelog](https://github.com/pytest-dev/pytest-cov/blob/master/CHANGELOG.rst) - [Commits](pytest-dev/pytest-cov@v2.6.0...v2.8.1) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> * Formatting * fix: add an error message for a valueerror * Formatting Co-authored-by: Markus Unterwaditzer <markus@unterwaditzer.net> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
1 parent 122bf3b commit 8ed8f45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sentry_sdk/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -658,7 +658,7 @@ def exc_info_from_error(error):
658658
exc_type = type(error)
659659

660660
else:
661-
raise ValueError()
661+
raise ValueError("Expected Exception object to report, got %s!" % type(error))
662662

663663
return exc_type, exc_value, tb
664664

0 commit comments

Comments
 (0)
0