Allow KICAD_TEST_NOTI to work with no existing file

This commit is contained in:
Marek Roszko 2023-08-06 16:27:27 -04:00
parent 103eb556f7
commit 74ce1de3f4
1 changed files with 1 additions and 2 deletions

View File

@ -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 ) )