mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-05-10 08:42:13 +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) {
|
void _onError(FlutterErrorDetails errorDetails) {
|
||||||
|
_saveException(errorDetails.exception.toString(), errorDetails.stack);
|
||||||
|
|
||||||
if (hasError) {
|
if (hasError) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
hasError = true;
|
hasError = true;
|
||||||
_saveException(errorDetails.exception.toString(), errorDetails.stack);
|
|
||||||
|
|
||||||
WidgetsBinding.instance.addPostFrameCallback(
|
WidgetsBinding.instance.addPostFrameCallback(
|
||||||
(timeStamp) async {
|
(timeStamp) async {
|
||||||
|
|
Loading…
Reference in a new issue