Skip to content

Commit

Permalink
Merge pull request #323 from yelizariev/patch-1
Browse files Browse the repository at this point in the history
On error in create_hook, there is no way to understand why it's failed
  • Loading branch information
sarumont authored Sep 9, 2020
2 parents 61028a9 + c4e8a8b commit f04b803
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion trello/trelloclient.py
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ def create_hook(self, callback_url, id_model, desc=None, token=None):
hook_id = response.json()['id']
return WebHook(self, token, hook_id, desc, id_model, callback_url, True)
else:
return False
raise Exception("Webhook creating failed: %s" % response.text)

def search(self, query, partial_match=False, models=[],
board_ids=[], org_ids=[], card_ids=[], cards_limit=10):
Expand Down

0 comments on commit f04b803

Please sign in to comment.