zendesk / ultragrep

the grep that greps the hardest.
Apache License 2.0
29 stars 4 forks source link

Add a empty logset error #42

Closed adam-hart closed 8 years ago

adam-hart commented 8 years ago

/cc @zendesk/sustaining @osheroff

Description

Searching for logs in a date range with no log results errors out here with the error:

ultragrep: undefined method each for nil:NilClass (NoMethodError)

Add a more verbose error message so users know what went wrong.

adam-hart commented 8 years ago

So this repo's Travis integration is hosed. I'm not sure I want to fix it just for this little addition.

miketineo commented 8 years ago

:+1:

ckumar1 commented 8 years ago

:+1: