Open DannyBen opened 8 years ago
Good addition. I'd be in favor of moving the exception handling behavior out into bin/papertrail
in the same way interrupts are handled by adding another rescue
clause for those 2 exceptions.
Makes sense. Will update the PR later today.
@lmarburger - better?
Note that in the other bin+lib pairs, there is also some inconsistency.
For example:
This PR comes to improve error messages by showing only the message, and not the trace.
It rescues two exceptions:
ArgumentError
- raised in some cases across the code, for example - when providing an invalid argument to--min-time
OptionParser::InvalidOption
- which is raised when parsing unexpected optionAfter merging, you get these: