From 2fc77a315eeeefde30cb9b556a0cb458327cc073 Mon Sep 17 00:00:00 2001 From: Curtis Shmyr Date: Wed, 6 Jul 2016 13:49:08 -0600 Subject: [PATCH] Add timestamp to exception.log --- OpenRA.Game/Support/Program.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/OpenRA.Game/Support/Program.cs b/OpenRA.Game/Support/Program.cs index dab93a0fff..193790bdfe 100644 --- a/OpenRA.Game/Support/Program.cs +++ b/OpenRA.Game/Support/Program.cs @@ -62,6 +62,7 @@ namespace OpenRA Log.Write("exception", "on map {0} ({1} by {2}).", map.Uid, map.Title, map.Author); } + Log.Write("exception", "Date: {0:u}", DateTime.UtcNow); Log.Write("exception", "Operating System: {0} ({1})", Platform.CurrentPlatform, Environment.OSVersion); Log.Write("exception", "Runtime Version: {0}", Platform.RuntimeVersion); var rpt = BuildExceptionReport(e).ToString();