1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00

Handle FileReadError.

This commit is contained in:
Bartosz Taudul
2020-02-12 19:53:37 +01:00
parent eb79507501
commit 1492536bdb
5 changed files with 31 additions and 0 deletions
+4
View File
@@ -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 );