Skip to content

Commit

Permalink
Merge pull request #8 from monoel69/fix_slack_error
Browse files Browse the repository at this point in the history
fix SlackError in call_resource method
  • Loading branch information
monoel69 authored Jun 10, 2022
2 parents 07c4d33 + c57a1e2 commit cb93460
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion slack_notifications.py
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,7 @@ def call_resource(self, resource: Resource, *, raise_exc: bool = False, **kwargs

if not json['ok']:
logger.error(response.content)
raise SlackError(response=response)
raise SlackError(response.content)

return response

Expand Down

0 comments on commit cb93460

Please sign in to comment.