mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
Handle load failure exceptions.
This commit is contained in:
@@ -766,6 +766,11 @@ static void DrawContents()
|
||||
badVer.state = tracy::BadVersionState::LegacyVersion;
|
||||
badVer.version = e.version;
|
||||
}
|
||||
catch( const tracy::LoadFailure& e )
|
||||
{
|
||||
badVer.state = tracy::BadVersionState::LoadFailure;
|
||||
badVer.msg = e.msg;
|
||||
}
|
||||
} );
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user