Skip to content

Conversation

ehmicky
Copy link
Contributor

@ehmicky ehmicky commented Jul 30, 2020

Fixes #1685.

The current code assumes that every value thrown inside a plugin is an Error instance. However, some code sometimes throws error message strings, or array of errors.

This PR handles that case, and add some tests.

@ehmicky ehmicky added the type: bug code to address defects in shipped code label Jul 30, 2020
@ehmicky ehmicky requested a review from erezrokah July 30, 2020 11:00
@ehmicky ehmicky self-assigned this Jul 30, 2020
@ehmicky ehmicky mentioned this pull request Jul 30, 2020
@ehmicky ehmicky merged commit 23cd8d5 into master Jul 30, 2020
@ehmicky ehmicky deleted the bug/fix-error-handling branch July 30, 2020 11:55
This was referenced Jun 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug code to address defects in shipped code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Missing stack traces
2 participants