report fix
This commit is contained in:
parent
d696dbb01d
commit
0b5e235053
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@ class PlatformReportService extends ReportService {
|
|||
if (exception is PlatformException && stack != null) {
|
||||
stack = ReportService.buildReportStack(stack, level: 2);
|
||||
}
|
||||
if (exception! is UnreportedStateError) {
|
||||
if (exception is! UnreportedStateError) {
|
||||
return _instance?.recordError(exception, stack);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue