Parcourir la source

Catch all exceptions coming from the deprecated parser

Equbuxu il y a 1 an
Parent
commit
b6543a476c
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/PixiEditor/Models/IO/Importer.cs

+ 1 - 1
src/PixiEditor/Models/IO/Importer.cs

@@ -106,7 +106,7 @@ internal class Importer : NotifyableObject
 
                 return doc;
             }
-            catch (InvalidFileException e)
+            catch (Exception e)
             {
                 throw new CorruptedFileException("FAILED_TO_OPEN_FILE", e);
             }