From ab62d3ea28514c6741795b5077d284a272cc471e Mon Sep 17 00:00:00 2001 From: Thibault Deckers Date: Fri, 21 Jan 2022 12:03:26 +0900 Subject: [PATCH] comment --- lib/main_common.dart | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/main_common.dart b/lib/main_common.dart index 98d2790f0..1a1820c9d 100644 --- a/lib/main_common.dart +++ b/lib/main_common.dart @@ -28,5 +28,10 @@ void mainCommon(AppFlavor flavor) { reportService.recordError(errorAndStacktrace.first, errorAndStacktrace.last); }).sendPort); + // Errors during the widget build phase will show by default: + // - in debug mode: error on red background + // - in release mode: plain grey background + // This can be modified via `ErrorWidget.builder` + runApp(AvesApp(flavor: flavor)); }