mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
Handle FileReadError.
This commit is contained in:
@@ -581,6 +581,10 @@ static void DrawContents()
|
||||
{
|
||||
badVer.state = tracy::BadVersionState::BadFile;
|
||||
}
|
||||
catch( const tracy::FileReadError& )
|
||||
{
|
||||
badVer.state = tracy::BadVersionState::ReadError;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user