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 )
|
catch( const IO_ERROR& ioe )
|
||||||
{
|
{
|
||||||
msg.Printf( _( "I/O error %s resolving library symbol %s" ), ioe.What(),
|
if( aReporter )
|
||||||
symbol->GetLibId().Format().wx_str() );
|
{
|
||||||
aReporter->ReportTail( msg, RPT_SEVERITY_ERROR );
|
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