mirror of
https://gitlab.com/veilid/veilidchat.git
synced 2025-07-23 14:40:58 -04:00
fix error zone
This commit is contained in:
parent
fc32fdd9f3
commit
0ebca108fe
1 changed files with 18 additions and 17 deletions
|
@ -27,6 +27,8 @@ void main() async {
|
||||||
// Ansi colors
|
// Ansi colors
|
||||||
ansiColorDisabled = false;
|
ansiColorDisabled = false;
|
||||||
|
|
||||||
|
// Catch errors
|
||||||
|
await runZonedGuarded(() async {
|
||||||
// Logs
|
// Logs
|
||||||
initLoggy();
|
initLoggy();
|
||||||
|
|
||||||
|
@ -48,7 +50,6 @@ void main() async {
|
||||||
|
|
||||||
// Run the app
|
// Run the app
|
||||||
// Hot reloads will only restart this part, not Veilid
|
// Hot reloads will only restart this part, not Veilid
|
||||||
runZonedGuarded(() {
|
|
||||||
runApp(ProviderScope(
|
runApp(ProviderScope(
|
||||||
observers: const [StateLogger()],
|
observers: const [StateLogger()],
|
||||||
child: LocalizedApp(delegate, VeilidChatApp(theme: initTheme))));
|
child: LocalizedApp(delegate, VeilidChatApp(theme: initTheme))));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue