We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eb56584 commit 506e88fCopy full SHA for 506e88f
1 file changed
lib/api/auth_api.rb
@@ -20,6 +20,9 @@ def get_auth_token
20
json_response = get_post_response(uri, post_data)
21
if json_response.present?
22
json_response["access_token"]
23
+ else
24
+ @error = "Failed to get JSON token, received: #{json_response}"
25
+ nil
26
end
27
28
0 commit comments