소스 검색

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);
             }