Permalink
Browse files

Fix for failure to serialize jQuery event object.

  • Loading branch information...
1 parent da311f6 commit 602adb639f55da9ee6a9c16f5c0fec0e4e10821f @yhahn yhahn committed Aug 22, 2011
Showing with 3 additions and 0 deletions.
  1. +3 −0 assets/debug.js
View
@@ -1,4 +1,7 @@
window.onerror = function(message, url, line) {
+ // Don't attempt to handle non-standard errors (e.g. failed
+ // HTTP request via jQuery).
+ if (typeof message !== 'string') return;
$.ajax('/api/Error', {
data: {
message: message,

0 comments on commit 602adb6

Please sign in to comment.