Skip to content

Instantly share code, notes, and snippets.

@kjunggithub
Created May 14, 2014 00:39
Show Gist options
  • Save kjunggithub/417fcd56dd35b6ed7d02 to your computer and use it in GitHub Desktop.
Save kjunggithub/417fcd56dd35b6ed7d02 to your computer and use it in GitHub Desktop.
ajax error debugging
error: function(jqXHR, textStatus, errorThrown) {
console.log('=============');
console.log(arguments);
alert('HTTP Error: '+errorThrown+' | Error Message: '+textStatus);
console.log('=============');
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment