Also catch null dereference in case wxASSERT was skipped.

This commit is contained in:
Jeff Young 2020-01-15 17:34:12 +00:00
parent 6a47d0f507
commit 0f4c56cbbd
1 changed files with 4 additions and 0 deletions

View File

@ -431,6 +431,10 @@ FP_LIB_TABLE* PROJECT::PcbFootprintLibs( KIWAY& aKiway )
DisplayErrorMessage( NULL, _( "Error loading project footprint library table" ),
ioe.What() );
}
catch( ... )
{
DisplayErrorMessage( NULL, _( "Error loading project footprint library table" ) );
}
}
return tbl;