Improved logging on bad date parse

This commit is contained in:
Qstick
2021-11-29 21:00:11 -06:00
parent 77e40e8e53
commit 5f5df99dab

View File

@@ -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)