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

fix(dotnet/runtime): Incorrect callback response format #286

Merged
merged 1 commit into from
Oct 30, 2018

Conversation

RomainMuller
Copy link
Contributor

The response for a callback completion that resulted in an error should use the err field
name and not the error field name as was initially done. Additionally, the program flow
did not propagate all errors back to the jsii-kernel, causing false-pass on the compliance
test suite, as expectations were incorrectly set up to expect RuntimeException instead
of JsiiException.

Fixes #285

The response for a callback completion that resulted in an error should use the `err` field
name and not the `error` field name as was initially done. Additionally, the program flow
did not propagate all errors back to the `jsii-kernel`, causing false-pass on the compliance
test suite, as expectations were incorrectly set up to expect `RuntimeException` instead
of `JsiiException`.

Fixes #285
@RomainMuller RomainMuller merged commit 1b851e1 into master Oct 30, 2018
@RomainMuller RomainMuller deleted the rmuller/fix-285 branch October 30, 2018 09:55
@RomainMuller RomainMuller added the bug This issue is a bug. label Nov 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue is a bug.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants