Browse Source

Add stack trace when failing to deserialize scene

habeebweeb 4 years ago
parent
commit
3a244f23a4

+ 1 - 0
COM3D2.MeidoPhotoStudio.Plugin/MeidoPhotoStudio/MeidoPhotoStudio.cs

@@ -191,6 +191,7 @@ namespace COM3D2.MeidoPhotoStudio.Plugin
                         $"Failed to deserialize scene '{filePath}' because {e.Message}"
                         + $"\nCurrent header: '{header}'. Last header: '{previousHeader}'"
                     );
+                    Utility.LogError(e.StackTrace);
                     return;
                 }
             }