katt icon indicating copy to clipboard operation
katt copied to clipboard

handle request errors

Open andreineculau opened this issue 3 years ago • 0 comments

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}

andreineculau avatar May 11 '22 14:05 andreineculau