Skip to content

Conversation

@TorstenDittmann
Copy link
Contributor

No description provided.

} catch (e) {
if (e instanceof {{spec.title | caseUcfirst}}Exception) {
throw e;
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What exactly caused the missing error code?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It was a nested exception caught and then thrown by the parent try/catch.

@TorstenDittmann TorstenDittmann merged commit ac40262 into master Sep 6, 2021
@TorstenDittmann TorstenDittmann deleted the fix-exception-code branch September 6, 2021 07:34
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.

4 participants