dialog cleanup

This commit is contained in:
Christien Rioux 2024-08-02 23:18:39 -05:00
parent e2d57761e3
commit 1b7ac31085
11 changed files with 320 additions and 72 deletions

View file

@ -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);
}
}
}