1
0
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:
Bartosz Taudul
2023-12-31 14:16:06 +01:00
parent 5062bef69a
commit b262cb2428
2 changed files with 24 additions and 0 deletions
+5
View File
@@ -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;
}
} );
}
}