improve logging

This commit is contained in:
Sebastian Sdorra
2011-06-19 13:36:26 +02:00
parent 45eeb2912b
commit 3d9f8e3314

View File

@@ -49,6 +49,9 @@ Sonia.rest.JsonStore = Ext.extend( Ext.data.JsonStore, {
}
this.removeAll();
} else {
if (debug){
console.debug( 'error during store load, status: ' + status );
}
main.handleFailure(
status,
this.errorTitleText,