Remove exception which is not caught in most code paths.
This commit is contained in:
parent
9182b3a850
commit
677fcee0d2
|
@ -286,12 +286,8 @@ SYMBOL_LIB_TABLE_ROW* SYMBOL_LIB_TABLE::FindRow( const wxString& aNickname )
|
||||||
|
|
||||||
if( !row )
|
if( !row )
|
||||||
{
|
{
|
||||||
wxString msg;
|
wxFAIL_MSG( "sym-lib-table files contain no library with nickname " + aNickname );
|
||||||
|
return nullptr;
|
||||||
msg.Printf( _( "sym-lib-table files contain no library with nickname \"%s\"" ),
|
|
||||||
aNickname );
|
|
||||||
|
|
||||||
THROW_IO_ERROR( msg );
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// We've been 'lazy' up until now, but it cannot be deferred any longer,
|
// We've been 'lazy' up until now, but it cannot be deferred any longer,
|
||||||
|
|
Loading…
Reference in New Issue