From 5f5df99dab5696657aecf5c27d1b61d8ff8a6230 Mon Sep 17 00:00:00 2001 From: Qstick Date: Mon, 29 Nov 2021 21:00:11 -0600 Subject: [PATCH] Improved logging on bad date parse --- src/NzbDrone.Core/Parser/DateTimeUtil.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NzbDrone.Core/Parser/DateTimeUtil.cs b/src/NzbDrone.Core/Parser/DateTimeUtil.cs index a9fb063b9..9bccaabe1 100644 --- a/src/NzbDrone.Core/Parser/DateTimeUtil.cs +++ b/src/NzbDrone.Core/Parser/DateTimeUtil.cs @@ -114,7 +114,7 @@ namespace NzbDrone.Core.Parser return dateTimeParsed; } - throw new Exception("FromFuzzyTime parsing failed"); + throw new Exception($"FromFuzzyTime parsing failed for string {str}"); } public static DateTime FromUnknown(string str, string format = null)