Skip to content
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

Don't swallow errors on bulk search #33

Merged
merged 3 commits into from
Oct 23, 2017

Conversation

mheiber
Copy link
Contributor

@mheiber mheiber commented Oct 4, 2017

say what went wrong, as an aid to debugging
Before:

screen shot 2017-10-03 at 10 39 26 pm

After:

screen shot 2017-10-03 at 10 47 16 pm

It took me about 20 minutes to figure out I was passing an invalid date, but if the error doesn't get swallowed then next time I can see "failed to parse [date]" which will help with this sort of problem.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 99.647% when pulling 8d61c28 on mheiber:patch-batch-search-error-swallowing into d323698 on clay:master.

say what went wrong, as an aid to debugging
@mheiber mheiber force-pushed the patch-batch-search-error-swallowing branch from 8d61c28 to 8cf2122 Compare October 4, 2017 02:48
@coveralls
Copy link

Coverage Status

Coverage remained the same at 99.647% when pulling 8cf2122 on mheiber:patch-batch-search-error-swallowing into d323698 on clay:master.

jonwinton
jonwinton previously approved these changes Oct 6, 2017
@jonwinton jonwinton dismissed their stale review October 6, 2017 16:47

Clicked wrong button.

let str = ['Client.bulk errored on ' + util.inspect(ops, {
depth: 10
})];
const message = 'Client.bulk errored on:\n'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can this be updated to use template literals?

@mheiber
Copy link
Contributor Author

mheiber commented Oct 10, 2017

@jonwinton cool, made the change 👍

@coveralls
Copy link

Coverage Status

Coverage increased (+0.0002%) to 99.647% when pulling aec4081 on mheiber:patch-batch-search-error-swallowing into d323698 on clay:master.

@jonwinton jonwinton merged commit f85fcba into clay:master Oct 23, 2017
@coveralls
Copy link

Coverage Status

Coverage increased (+0.0002%) to 99.647% when pulling ad8c089 on mheiber:patch-batch-search-error-swallowing into 7904520 on clay:master.

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.

3 participants