rollbar / rollbar-flutter

Rollbar for Dart and Flutter
https://docs.rollbar.com/docs/flutter
MIT License
21 stars 27 forks source link

Rollbar Dart (not Flutter) doesn't register uncaught errors #38

Closed matux closed 1 year ago

matux commented 2 years ago

Rollbar Dart doesn't have a mechanism to recognize uncaught errors. Dart doesn't have the same facilities as Flutter, and our UncaughtErrorHandler isn't doing the job it purports to do.

The Darty (Dartic?) way is to create Zones, which are part of the dart:async library and provide a mechanism to handle uncaught errors.

More literature: