-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixes occasional crashes of Recurring Jobs page #730
Conversation
@@ -100,7 +100,7 @@ | |||
#if NETFULL | |||
try | |||
{ | |||
cronDescription = CronExpressionDescriptor.ExpressionDescriptor.GetDescription(job.Cron); | |||
cronDescription = CronExpressionDescriptor.ExpressionDescriptor.GetDescription(job.Cron, new CronExpressionDescriptor.Options {ThrowExceptionOnParseError = false}); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add spaces within curly braces:
{ ThrowExceptionOnParseError = false }
What CronExpressionDescriptor now returns in case of a null argument? |
… the value of Resharper setting 'Witin single-line initializer braces' as true
Current coverage is 67.34% (diff: 100%)
|
Now |
Thanks @aidmsu, 🚢 ping! |
If there is problem with parsing of job cron expression Recurrig Jobs page will still be displayed.
This PR fixes #692