Skip to content

Commit

Permalink
Reverted my client error testing change.
Browse files Browse the repository at this point in the history
  • Loading branch information
Steve Mactaggart committed Jun 28, 2014
1 parent 1de873e commit d7f845c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyrelic/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def _handle_api_error(self, error):
for the user to handle as they see fit.
"""
status_code = error.response.status_code
message = error.message content = error.response.content
message = error.message

if 403 == status_code:
raise NewRelicInvalidApiKeyException(message)
Expand Down

0 comments on commit d7f845c

Please sign in to comment.