Allow KICAD_TEST_NOTI to work with no existing file
This commit is contained in:
parent
103eb556f7
commit
74ce1de3f4
|
@ -276,8 +276,7 @@ void NOTIFICATIONS_MANAGER::Load()
|
||||||
}
|
}
|
||||||
catch( std::exception& )
|
catch( std::exception& )
|
||||||
{
|
{
|
||||||
// failed to load the json
|
// failed to load the json, which is fine, default to no notificaitons
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if( wxGetEnv( wxT( "KICAD_TEST_NOTI" ), nullptr ) )
|
if( wxGetEnv( wxT( "KICAD_TEST_NOTI" ), nullptr ) )
|
||||||
|
|
Loading…
Reference in New Issue