eeschema: Fix crash when rescuing during update
This commit is contained in:
parent
1905a23ba1
commit
c2847e00d8
|
@ -633,9 +633,12 @@ void SCH_SCREEN::UpdateSymbolLinks( REPORTER* aReporter )
|
|||
}
|
||||
catch( const IO_ERROR& ioe )
|
||||
{
|
||||
msg.Printf( _( "I/O error %s resolving library symbol %s" ), ioe.What(),
|
||||
symbol->GetLibId().Format().wx_str() );
|
||||
aReporter->ReportTail( msg, RPT_SEVERITY_ERROR );
|
||||
if( aReporter )
|
||||
{
|
||||
msg.Printf( _( "I/O error %s resolving library symbol %s" ), ioe.What(),
|
||||
symbol->GetLibId().Format().wx_str() );
|
||||
aReporter->ReportTail( msg, RPT_SEVERITY_ERROR );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue