Skip to content

Commit

Permalink
Adding ajax error code to hopefully help track down intermittent error
Browse files Browse the repository at this point in the history
  • Loading branch information
ethanKlein committed Dec 8, 2011
1 parent 469f10d commit 51720af
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 47 deletions.
94 changes: 47 additions & 47 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions public/assets/scroller.js
Expand Up @@ -28,6 +28,9 @@ var feedo = {
dataType: 'html', dataType: 'html',
success: function(data) { success: function(data) {
feedo.display_new_post(data); feedo.display_new_post(data);
},
error: function(jqXHR, textStatus, errorThrown) {
alert("Argh, Feedo error: " + textStatus + " " + errorThrown);
} }
}); });
} }
Expand Down

0 comments on commit 51720af

Please sign in to comment.