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
When submitting Complete requests, the .NET runtime emits error instead of err for failures. This causes the kernel to assume success with undefined value.
I have a fix for this. I'm trying to figure out why the existing compliance tests didn't break with this error (throwing from a callback is part of the tested behavior)
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
When submitting
Complete
requests, the.NET
runtime emitserror
instead oferr
for failures. This causes the kernel to assume success with undefined value.Discovered as part of aws/aws-cdk#1027
The text was updated successfully, but these errors were encountered: