Skip to content

Commit a2b858a

Browse files
committed
Fix JS exception data callback
1 parent 6a2bd64 commit a2b858a

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

assets/javascripts/app/app.coffee

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,8 @@
5757
mode: if @DOC then 'single' else 'full'
5858
iframe: (window.top isnt window).toString()
5959
dataCallback: (data) ->
60-
try $.extend(data.user, app.settings.settings)
60+
try $.extend(data.user ||= {}, app.settings.settings)
61+
data
6162
.install()
6263
@previousErrorHandler = onerror
6364
window.onerror = @onWindowError.bind(@)

0 commit comments

Comments
 (0)