bugsnag / bugsnag-flutter

BugSnag crash reporting for Flutter apps
https://docs.bugsnag.com/platforms/flutter/
MIT License
11 stars 11 forks source link

Additional calls to attach will log a warning #182

Closed lemnik closed 2 years ago

lemnik commented 2 years ago

Goal

Improve hot-reload experience when using bugsnag.attach by not throwing an error.

Design

Emit a warning message, instead of throwing an exception when attach has already been called.

Testing

New end to end scenarios were added to check that additional calls to attach do not cause startup failures.