Fix "ReferenceError: hook is not defined" when removing hook
This commit is contained in:
parent
443d6ba976
commit
0a9376f9b2
@ -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) ->
|
||||
|
Loading…
Reference in New Issue
Block a user