Spawning an isolate with an unserializable message throws an uncatchable exception #14718
Labels
area-core-library
SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries.
library-isolate
Consider the following code:
Isolate.spawn(print, () {}).catchError((e) => print("caught $e"));
This throws an uncatchable exception. The exception should be surfaced through the returned future so it can be handled properly.
The text was updated successfully, but these errors were encountered: