|
@@ -84,7 +84,7 @@ internal class Importer : ObservableObject
|
|
|
try
|
|
|
{
|
|
|
var doc = PixiParser.Deserialize(path).ToDocument();
|
|
|
-
|
|
|
+
|
|
|
if (associatePath)
|
|
|
{
|
|
|
doc.FullFilePath = path;
|
|
@@ -92,6 +92,11 @@ internal class Importer : ObservableObject
|
|
|
|
|
|
return doc;
|
|
|
}
|
|
|
+ catch (DirectoryNotFoundException)
|
|
|
+ {
|
|
|
+ //TODO: Handle
|
|
|
+ throw new RecoverableException();
|
|
|
+ }
|
|
|
catch (InvalidFileException)
|
|
|
{
|
|
|
try
|