dakrone / clj-http

An idiomatic clojure http client wrapping the apache client. Officially supported version.
http://clojars.org/clj-http
MIT License
1.78k stars 408 forks source link

Improve error message when using incompatible version of cheshire (< 5.9.0) #558

Closed rymndhng closed 4 years ago

rymndhng commented 4 years ago

The json-decode change in v3.10.1 requires cheshire >= 5.9.0. When users do not upgrade cheshire, they will see a very unhelpful error similar to this.

Syntax error (NullPointerException) compiling at (...)

This change introduces a slightly more helpful error message to point users at how to resolve this issue.

Fixes #555