Log the stack trace when map saving fails

This commit is contained in:
abcdefg30
2019-03-08 16:32:56 +01:00
committed by reaperrr
parent ffac21c3d3
commit 19b2cb0afb

View File

@@ -203,6 +203,7 @@ namespace OpenRA.Mods.Common.Widgets.Logic
catch (Exception e)
{
Log.Write("debug", "Failed to save map at {0}: {1}", combinedPath, e.Message);
Log.Write("debug", "{0}", e.StackTrace);
ConfirmationDialogs.ButtonPrompt(
title: "Failed to save map",