Skip to content

Commit ad8e549

Browse files
committed
fix: send handled crashes now correctly in non-fatal crashes section
1 parent 741fc64 commit ad8e549

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

example/lib/src/components/non_fatal_crashes_content.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ class _NonFatalCrashesContentState extends State<NonFatalCrashesContent> {
2121
log('throwHandledException: Crash report for ${err.runtimeType} is Sent!',
2222
name: 'NonFatalCrashesWidget');
2323
}
24+
CrashReporting.reportHandledCrash(
25+
err,
26+
StackTrace.current,
27+
);
2428
}
2529
}
2630

0 commit comments

Comments
 (0)