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
/// The zone will always be an error-zone ([Zone.errorZone]), so returning
/// a future created inside the zone, and waiting for it outside of the zone,
/// will risk the future not being seen to complete.
The text was updated successfully, but these errors were encountered:
@obiwanzenobi It seems you are using one of the older runtimes, we recommend using dart 2.18 which shouldn't have this issue. Also wait for upcoming release, we are working on adding dart 2.19 and dart 3.0 as well.
Checked on 2.17 and 2.18, compared with node-18.0
Creating function with code:
will prevent dart runtime from sending ANY answer.
For comparison this code on node-18.0 will fail fast with proper (status 500) response:
Expected behavior: dart runtime fails fast if any internal error is thrown
The problem could be here:
https://github.com/open-runtimes/open-runtimes/blob/main/runtimes/dart-2.17/server.dart#L35
because of:
The text was updated successfully, but these errors were encountered: