update emergency err log datetime format

This commit is contained in:
Kurt 2017-10-18 18:11:20 -07:00
parent f5b22d7873
commit d76f1dd7a5

View File

@ -172,7 +172,7 @@ private static bool EmergencyErrorLog(Exception originalException, Exception err
{
// Not using a string builder because something's very wrong, and we don't want to make things worse
var message = (originalException?.ToString() ?? "null first exception") + Environment.NewLine + errorHandlingException;
File.WriteAllText($"PKHeX_Error_Report {DateTime.Now:YYYYMMDDhhmmss}.txt", message);
File.WriteAllText($"PKHeX_Error_Report {DateTime.Now:yyyyMMddHHmmss}.txt", message);
}
catch (Exception)
{