Skip to content

Commit

Permalink
Better error reporting for json preview
Browse files Browse the repository at this point in the history
  • Loading branch information
domoritz committed Oct 31, 2012
1 parent 8224853 commit da372ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckanext/jsonpreview/theme/public/preview_json.js
Expand Up @@ -14,7 +14,7 @@ ckan.module('jsonpreview', function (jQuery, _) {
self.el.html(pretty);
},
error: function(jqXHR, textStatus, errorThrown) {
self.el.html('An error occured: ' + textStatus);
self.el.html('An error occured: ' + textStatus + ', ' + errorThrown);
}
});
},
Expand Down

0 comments on commit da372ad

Please sign in to comment.