Closed kaapstorm closed 3 years ago
@h2non this is a small one.
In code that calls parse(), I have been reraising jsonpath-rw parser errors as my own Exception subclass, so I can treat parser errors differently from other exceptions. But that means catching Exception: Not ideal.
parse()
Exception
This pull request resolves that.
Can you please check the failed tests in CI? https://travis-ci.org/github/h2non/jsonpath-ng/jobs/757704272
Sorry about that! Bad rebase. Fixed.
Thanks!
@h2non this is a small one.
In code that calls
parse()
, I have been reraising jsonpath-rw parser errors as my own Exception subclass, so I can treat parser errors differently from other exceptions. But that means catchingException
: Not ideal.This pull request resolves that.