This commit is contained in:
Thibault Deckers 2024-05-21 22:54:00 +02:00
parent 17c88b2514
commit ab92b883b6

View file

@ -114,7 +114,9 @@ class PlatformAppService implements AppService {
if (result == null) return {'error': 'cancelled'};
return result.cast<String, dynamic>();
} on PlatformException catch (e, stack) {
await reportService.recordError(e, stack);
if (e.code != 'edit-resolve') {
await reportService.recordError(e, stack);
}
return {'error': e.code};
}
}