add a js debugger breakpoint into 'unknown hook' error case
This commit is contained in:
		| @@ -89,6 +89,7 @@ window.runHooks = function(event, data) { | ||||
| window.addHook = function(event, callback) { | ||||
|   if(VALID_HOOKS.indexOf(event) === -1) { | ||||
|     console.error('addHook: Unknown event type: ' + event + ' - ignoring'); | ||||
|     debugger; | ||||
|     return; | ||||
|   } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user