Explorar el Código

Catch all exceptions coming from the deprecated parser

Equbuxu hace 1 año
padre
commit
b6543a476c
Se han modificado 1 ficheros con 1 adiciones y 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);
             }