katt
katt copied to clipboard
handle request errors
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}