debug Ox.Request

This commit is contained in:
rlx 2011-10-20 14:49:57 +00:00
parent 4dfa708d05
commit a01926be4d

View file

@ -198,6 +198,7 @@ Ox.Request = function(options) {
} }
} }
if (data.status.code < 500) { if (data.status.code < 500) {
Ox.print('ERROR CODE < 500', data)
callback(data); callback(data);
} else { } else {
var $dialog = Ox.Dialog({ var $dialog = Ox.Dialog({