Skip to content

Better failure message when creating a scheduled reqeust with no schedule#985

Merged
ssalinas merged 1 commit into
masterfrom
better-error-scheduled-reqeust-no-schedule
Apr 11, 2016
Merged

Better failure message when creating a scheduled reqeust with no schedule#985
ssalinas merged 1 commit into
masterfrom
better-error-scheduled-reqeust-no-schedule

Conversation

@Calvinp

@Calvinp Calvinp commented Apr 6, 2016

Copy link
Copy Markdown
Contributor

When creating a request, the API calls the method request.getQuartzScheduleSafe(). As it turns out, this method is not safe and throws an error when the schedule and quartzSchedule are not present. Now we check if those are present before calling getQuartzScheduleSafe().

I also intend to change getQuartzScheduleSafe() to either actually be safe, or at least not be misleading. Still working on exactly how to do that.

@ssalinas ssalinas added the hs_qa label Apr 6, 2016
@ssalinas ssalinas merged commit a0967a2 into master Apr 11, 2016
@ssalinas ssalinas deleted the better-error-scheduled-reqeust-no-schedule branch April 11, 2016 13:07
@ssalinas ssalinas modified the milestone: 0.6.0 Apr 11, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants