From 0f4c56cbbd324a38346a139557719e3f57f203fb Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Wed, 15 Jan 2020 17:34:12 +0000 Subject: [PATCH] Also catch null dereference in case wxASSERT was skipped. --- common/project.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/common/project.cpp b/common/project.cpp index ca2b0ddc39..5a935c1f0b 100644 --- a/common/project.cpp +++ b/common/project.cpp @@ -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;