Fix JS error tracking

pull/412/merge
Thibaut Courouble 9 years ago
parent 740bcc65ba
commit e3abd50406

@ -56,10 +56,11 @@
tags: tags:
mode: if @DOC then 'single' else 'full' mode: if @DOC then 'single' else 'full'
iframe: (window.top isnt window).toString() iframe: (window.top isnt window).toString()
shouldSendCallback: -> shouldSendCallback: =>
if @isInjectionError() try
@onInjectionError() if @isInjectionError()
return false @onInjectionError()
return false
true true
dataCallback: (data) -> dataCallback: (data) ->
try try

Loading…
Cancel
Save