This repository was archived by the owner on Jan 18, 2024. It is now read-only.

Description
When the request is Unauthorized, you get a message like:
SyntaxError: Unexpected token U
This is because it tries to parse the data object which is not a valid JSON object but a response like:
401 Unauthorized /_status
You could print this unauthoriezed message so the user knows the reason why it fails.