Permalink
Browse files

Fix "ReferenceError: hook is not defined" when removing hook

  • Loading branch information...
1 parent 443d6ba commit 0a9376f9b2cce48042b9d753968ad051f9c61d92 @daronco daronco committed Nov 12, 2015
Showing with 1 addition and 1 deletion.
  1. +1 −1 bbb-webhooks/hook.coffee
@@ -105,7 +105,7 @@ module.exports = class Hook
# gave up trying to perform the callback, remove the hook forever
@emitter.on "stopped", (error) =>
- Logger.warn "Hook: too many failed attempts to perform a callback call, removing the hook", JSON.stringify(hook)
+ Logger.warn "Hook: too many failed attempts to perform a callback call, removing the hook for", @callbackURL
@destroy()
@addSubscription = (callbackURL, meetingID=null, callback) ->

0 comments on commit 0a9376f

Please sign in to comment.