Skip to content
Permalink
Browse files

[Editor] Properly report solution load/save exception to log

  • Loading branch information
xen2 committed Dec 26, 2018
1 parent 8e98e23 commit 1844890dcc1fa6135ed9e91cf256df45387f3f0b
Showing with 2 additions and 2 deletions.
  1. +2 −2 sources/editor/Xenko.Core.Assets.Editor/ViewModel/SessionViewModel.cs
@@ -396,7 +396,7 @@ public static async Task<SessionViewModel> OpenSession(string path, IViewModelSe
}
catch (Exception e)
{
sessionResult.Error(string.Format(Tr._p("Log", "There was a problem opening the solution."), e));
sessionResult.Error(string.Format(Tr._p("Log", "There was a problem opening the solution.")), e);
result = null;
}
return result;
@@ -873,7 +873,7 @@ public async Task<bool> SaveSession()
}
catch (Exception e)
{
sessionResult.Error(string.Format(Tr._p("Log", "There was a problem saving the solution. {0}"), e));
sessionResult.Error(string.Format(Tr._p("Log", "There was a problem saving the solution. {0}"), e.Message), e);
}
});

0 comments on commit 1844890

Please sign in to comment.
You can’t perform that action at this time.