Skip to content

Errors that don't crash the app shouldn't be logged as fatal #1624

@feinstein

Description

@feinstein

Problem Statement

Fatal usually means your app crashed (fatal == death), but FlutterErrorIntegration on line 64 logs all FlutterError as fatal instead of error, even though they are not crashing the app.

I have wrapped my app with runZonedGuarded and all errors are directed to Sentry so AFAIK the only way I can have a crash is from the native side.

Solution Brainstorm

The FlutterError level should be an option we can pass, so we can decide the severity it has.

Are you willing to submit a PR?

None

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

Status

Done

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions