Explorar o código

Catch all exceptions coming from the deprecated parser

Equbuxu hai 1 ano
pai
achega
b6543a476c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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);
             }