From 74ce1de3f443bfb1578abdccc94fe85b09937b15 Mon Sep 17 00:00:00 2001 From: Marek Roszko Date: Sun, 6 Aug 2023 16:27:27 -0400 Subject: [PATCH] Allow KICAD_TEST_NOTI to work with no existing file --- common/notifications_manager.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/common/notifications_manager.cpp b/common/notifications_manager.cpp index eca6c58c26..647c9e5b1b 100644 --- a/common/notifications_manager.cpp +++ b/common/notifications_manager.cpp @@ -276,8 +276,7 @@ void NOTIFICATIONS_MANAGER::Load() } catch( std::exception& ) { - // failed to load the json - return; + // failed to load the json, which is fine, default to no notificaitons } if( wxGetEnv( wxT( "KICAD_TEST_NOTI" ), nullptr ) )