url_expander icon indicating copy to clipboard operation
url_expander copied to clipboard

Correctly handle non-OK bitly responses

Open glampr opened this issue 8 years ago • 0 comments

If response status != 200 (e.g. 403 when rate limit exceeded) then in the response body data['data'] is an array, and trying to access data['data']['expand'].first results in an error.

glampr avatar Jan 27 '17 01:01 glampr