for-GET / katt

KATT (Klarna API Testing Tool) is an HTTP-based API testing tool for Erlang.
https://github.com/for-GET/katt
Apache License 2.0
119 stars 16 forks source link

handle request errors #87

Open andreineculau opened 2 years ago

andreineculau commented 2 years ago

in https://github.com/for-GET/katt/blob/master/src/katt.erl#L296 and output meaningful messages (e.g. the error code itself). Now it simply crashed because it doesn't match a katt_response record.

example: {error, econnrefused}