From 049c8aadd0c5b2a410c4ad6b8102976f1a789234 Mon Sep 17 00:00:00 2001 From: Tom Arra Date: Fri, 20 Dec 2024 11:15:52 -0600 Subject: [PATCH] analysis fix --- bricks/dart_frog_dev_server/hooks/pre_gen.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bricks/dart_frog_dev_server/hooks/pre_gen.dart b/bricks/dart_frog_dev_server/hooks/pre_gen.dart index 67b82d947..4b637d9b4 100644 --- a/bricks/dart_frog_dev_server/hooks/pre_gen.dart +++ b/bricks/dart_frog_dev_server/hooks/pre_gen.dart @@ -23,7 +23,7 @@ Future preGen( final RouteConfiguration configuration; try { configuration = buildConfiguration(io.Directory.current); - } catch (error) { + } on Exception catch (error) { context.logger.err('$error'); return exit(1); }