aboutsummaryrefslogtreecommitdiffstats
path: root/src/ajax.js
diff options
context:
space:
mode:
authorDave Methvin <dave.methvin@gmail.com>2011-11-08 12:49:58 -0500
committerDave Methvin <dave.methvin@gmail.com>2011-11-08 15:52:29 -0500
commitd8e2b4b6e43cb2de9cd1d21bc6aa1174393535ba (patch)
treeca16a95f51724cc370e524434f49cdd3f416f19a /src/ajax.js
parent0cc806fd88c4dadb0904c7d0b68014520ff668b9 (diff)
downloadjquery-d8e2b4b6e43cb2de9cd1d21bc6aa1174393535ba.tar.gz
jquery-d8e2b4b6e43cb2de9cd1d21bc6aa1174393535ba.zip
Revert "Catch one more place where a plain-text error was thrown."
This reverts commit cc4a999648d2623972e6dabad0e6c4b1bb60458a.
Diffstat (limited to 'src/ajax.js')
-rw-r--r--src/ajax.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ajax.js b/src/ajax.js
index 9018e1862..bf81d3a73 100644
--- a/src/ajax.js
+++ b/src/ajax.js
@@ -546,7 +546,7 @@ jQuery.extend({
} catch(e) {
// We have a parsererror
statusText = "parsererror";
- error = e.message;
+ error = e;
}
}
} else {