mirror of
https://github.com/wolfpld/tracy.git
synced 2026-10-06 08:55:30 +00:00
Show a generic message for unreadable or corrupted trace files.
FileReadError now also signals truncated or malformed traces, not just mapping failures, so the mmap-specific text misled users.
This commit is contained in:
@@ -256,7 +256,7 @@ int main( int argc, char** argv )
|
||||
}
|
||||
catch( const tracy::FileReadError& e )
|
||||
{
|
||||
fprintf( stderr, "The file you are trying to open cannot be mapped to memory.\n" );
|
||||
fprintf( stderr, "The file could not be read or is corrupted.\n" );
|
||||
exit( 1 );
|
||||
}
|
||||
catch( const tracy::LegacyVersion& e )
|
||||
|
||||
Reference in New Issue
Block a user