On a failure to cache a symbol lib, don't skip subsequent libs

By rethrowing the exception here, the entire caching process is
curtailed if there is an IO_ERROR while parsing a lib. This means any
libs up to the one before the bad one will be cached, but ones after it
wil not be.

Change to wxLogError to gather the errors to present to the user at the
end of the process.
This commit is contained in:
John Beard 2016-09-24 02:15:41 +08:00 committed by Wayne Stambaugh
parent 9490b02cb8
commit 360794b3a4
1 changed files with 1 additions and 1 deletions

View File

@ -1059,7 +1059,7 @@ void PART_LIBS::LoadAllLibraries( PROJECT* aProject ) throw( IO_ERROR, boost::ba
GetChars( ioe.What() )
);
THROW_IO_ERROR( msg );
wxLogError( msg );
}
}