dart-lang / shelf

Web server middleware for Dart
https://pub.dev/packages/shelf
BSD 3-Clause "New" or "Revised" License
921 stars 124 forks source link

[Discussion] Error handling #426

Open busslina opened 5 months ago

busslina commented 5 months ago

As you don't have discussions section enabled I ask here.

In Dart, any error or unhandled error is supposed to crash the app, but when an error happens inside a Shelf handler it doesn't crash.

Are you using Zone's to achieve this behaviour?

Thanks