minor
This commit is contained in:
parent
17c88b2514
commit
ab92b883b6
1 changed files with 3 additions and 1 deletions
|
@ -114,7 +114,9 @@ class PlatformAppService implements AppService {
|
||||||
if (result == null) return {'error': 'cancelled'};
|
if (result == null) return {'error': 'cancelled'};
|
||||||
return result.cast<String, dynamic>();
|
return result.cast<String, dynamic>();
|
||||||
} on PlatformException catch (e, stack) {
|
} on PlatformException catch (e, stack) {
|
||||||
await reportService.recordError(e, stack);
|
if (e.code != 'edit-resolve') {
|
||||||
|
await reportService.recordError(e, stack);
|
||||||
|
}
|
||||||
return {'error': e.code};
|
return {'error': e.code};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue