ing-bank / scruid

Scala + Druid: Scruid. A library that allows you to compose queries in Scala, and parse the result back into typesafe classes.
Apache License 2.0
115 stars 29 forks source link

Test a HTTP500 response #71

Closed Fokko closed 4 years ago

Fokko commented 4 years ago

By pushing an invalid query we get a HTTP500. I'd say that this should be a 400 (bad request). This tests also the other branch of the work that @barend has done (not timing out). We could also parse the error message and make a nice exception out of it.

barend commented 4 years ago

LGTM