Преглед изворни кода

Catch all exceptions coming from the deprecated parser

Equbuxu пре 1 година
родитељ
комит
b6543a476c
1 измењених фајлова са 1 додато и 1 уклоњено
  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);
             }