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