mirror of
https://github.com/wolfpld/tracy
synced 2026-02-23 16:22:11 +00:00
Handle legacy file versions.
This commit is contained in:
@@ -91,6 +91,11 @@ int main( int argc, char** argv )
|
||||
fprintf( stderr, "The file you are trying to open is not a tracy dump.\n" );
|
||||
exit( 1 );
|
||||
}
|
||||
catch( const tracy::LegacyVersion& e )
|
||||
{
|
||||
fprintf( stderr, "The file you are trying to open is from a legacy version.\n" );
|
||||
exit( 1 );
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user