pilosus / pip-license-checker

Check license types for third-party dependencies: permissive, copyleft, proprietory, etc.
https://blog.pilosus.org/posts/2021/09/07/pip-license-checker/
Other
69 stars 3 forks source link

Improve errors verbosity for Java native exceptions #116

Closed pilosus closed 1 year ago

pilosus commented 1 year ago

It seems that changes made in #115 don't handle exceptions well when it's an exception outside of the clj-http exceptional status codes, e.g. when it's a pure Java exceptions like UnknownHostException or something related to connection timeouts. Such exceptions get caught, but the verbosity output messes up with getting exception info, so that the output may look like:

[GitHub] null null