7
mirror of https://gitlab.com/kicad/code/kicad.git synced 2025-04-20 00:21:31 +00:00

Add debugging info to vrml reader

This commit is contained in:
Seth Hillbrand 2024-02-02 16:35:20 +01:00
parent d44b04978a
commit 42f17dfbef

View File

@ -202,8 +202,17 @@ SCENEGRAPH* LoadVRML( const wxString& aFileName, bool useInline )
{
expanded = gzip::decompress( buffer, size );
}
catch(...)
catch( std::runtime_error& e )
{
wxLogDebug( wxT( " * [INFO] wrz load failed: %s" ), wxString::FromUTF8Unchecked( e.what() ) );
delete[] buffer;
return nullptr;
}
catch( ... )
{
wxLogDebug( wxT( " * [INFO] wrz load failed: unknown error" ) );
delete[] buffer;
return nullptr;
}