Skip to content

Commit

Permalink
[Editor] Properly report solution load/save exception to log
Browse files Browse the repository at this point in the history
  • Loading branch information
xen2 committed Dec 26, 2018
1 parent 8e98e23 commit 1844890
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -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;
Expand Down Expand Up @@ -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);
}
});

Expand Down

0 comments on commit 1844890

Please sign in to comment.