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

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;
}
} );
}
}