Improved logging on bad date parse

pull/653/head
Qstick 3 years ago
parent 77e40e8e53
commit 5f5df99dab

@ -114,7 +114,7 @@ namespace NzbDrone.Core.Parser
return dateTimeParsed; 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) public static DateTime FromUnknown(string str, string format = null)

Loading…
Cancel
Save