mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-17 05:41:29 +02:00
Save exceptions if happened while there is an already existing report dialog [skip ci]
This commit is contained in:
+2
-2
@@ -207,12 +207,12 @@ void _sendExceptionFile() async {
|
||||
}
|
||||
|
||||
void _onError(FlutterErrorDetails errorDetails) {
|
||||
_saveException(errorDetails.exception.toString(), errorDetails.stack);
|
||||
|
||||
if (hasError) {
|
||||
return;
|
||||
}
|
||||
|
||||
hasError = true;
|
||||
_saveException(errorDetails.exception.toString(), errorDetails.stack);
|
||||
|
||||
WidgetsBinding.instance.addPostFrameCallback(
|
||||
(timeStamp) async {
|
||||
|
||||
Reference in New Issue
Block a user