diff --git a/shorebird_code_push/example/lib/main.dart b/shorebird_code_push/example/lib/main.dart index 14a13c9..f468949 100644 --- a/shorebird_code_push/example/lib/main.dart +++ b/shorebird_code_push/example/lib/main.dart @@ -69,7 +69,7 @@ class _MyHomePageState extends State { // Do nothing, there is already a warning displayed at the top of the // screen. } - } catch (error) { + } on Exception catch (error) { // If an error occurs, we log it for now. debugPrint('Error checking for update: $error'); } finally {