Skip to content

Commit ab89a1b

Browse files
committed
Report correct Error object to handleError. Part of the fix for #6677.
1 parent b9dfae2 commit ab89a1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ajax.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -486,7 +486,7 @@ jQuery.extend({
486486
try {
487487
xhr.send( (type !== "GET" && s.data) || null );
488488

489-
} catch( sendError ) {
489+
} catch( e ) {
490490
jQuery.ajax.handleError( s, xhr, null, e );
491491

492492
// Fire the complete handlers

0 commit comments

Comments
 (0)