mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-11-17 01:37:40 +00:00
Save exceptions if happened while there is an already existing report dialog [skip ci]
This commit is contained in:
parent
ae0f9df041
commit
4704d70605
1 changed files with 2 additions and 2 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue