diff options
Diffstat (limited to 'update/src')
-rw-r--r-- | update/src/update.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/update/src/update.cpp b/update/src/update.cpp index 5ed8754a..66a3e5ab 100644 --- a/update/src/update.cpp +++ b/update/src/update.cpp @@ -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; } |