mirror of
https://gitlab.com/veilid/veilidchat.git
synced 2025-05-02 14:26:12 -04:00
dialog cleanup
This commit is contained in:
parent
e2d57761e3
commit
1b7ac31085
11 changed files with 320 additions and 72 deletions
|
@ -137,10 +137,10 @@ class _EditAccountPageState extends WindowSetupState<EditAccountPage> {
|
|||
});
|
||||
}
|
||||
}
|
||||
} on Exception catch (e) {
|
||||
} on Exception catch (e, st) {
|
||||
if (mounted) {
|
||||
await showErrorModal(
|
||||
context, translate('new_account_page.error'), 'Exception: $e');
|
||||
await showErrorStacktraceModal(
|
||||
context: context, error: e, stackTrace: st);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -205,10 +205,10 @@ class _EditAccountPageState extends WindowSetupState<EditAccountPage> {
|
|||
});
|
||||
}
|
||||
}
|
||||
} on Exception catch (e) {
|
||||
} on Exception catch (e, st) {
|
||||
if (mounted) {
|
||||
await showErrorModal(
|
||||
context, translate('new_account_page.error'), 'Exception: $e');
|
||||
await showErrorStacktraceModal(
|
||||
context: context, error: e, stackTrace: st);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue