Skip to content

Commit

Permalink
Merge pull request #837 from ZeitOnline/WCM-268_bug
Browse files Browse the repository at this point in the history
WCM-268: None does not have the id attribute
  • Loading branch information
stollero authored Aug 27, 2024
2 parents 034dbf2 + 352a9f3 commit f96f32d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions core/docs/changelog/WCM-268.fix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
WCM-268: No hook, no hook id obviously
2 changes: 1 addition & 1 deletion core/src/zeit/cms/checkout/webhook.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def notify_webhook(self, uniqueId, id):
return
hook = HOOKS.factory.find(id)
if hook is None:
log.warning('Hook configuration for %s has vanished, ignoring.', hook.id)
log.warning('Hook configuration for %s has vanished, ignoring.', id)
return
try:
hook(content)
Expand Down

0 comments on commit f96f32d

Please sign in to comment.