I'm using urlfetch for an API call but can't seem to properly catch the error when the status is 400/404, or if the query yields nothing/error. Responses with status code 200 work fine.
Nightbot always returns Right-hand side of 'instanceof' is not an object. Tried try/catch, still no go. Am I doing something wrong?