File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -165,8 +165,8 @@ function writeHistoryToServer(view) {
165165 var newnotehistory = generateHistory ( view , notehistory ) ;
166166 saveHistoryToServer ( newnotehistory ) ;
167167 } )
168- . fail ( function ( ) {
169- writeHistoryToStorage ( view ) ;
168+ . fail ( function ( xhr , status , error ) {
169+ console . error ( xhr . responseText ) ;
170170 } ) ;
171171}
172172
@@ -286,8 +286,8 @@ function getServerHistory(callback) {
286286 callback ( data . history ) ;
287287 }
288288 } )
289- . fail ( function ( ) {
290- getStorageHistory ( callback ) ;
289+ . fail ( function ( xhr , status , error ) {
290+ console . error ( xhr . responseText ) ;
291291 } ) ;
292292}
293293
@@ -327,8 +327,8 @@ function parseServerToHistory(list, callback) {
327327 parseToHistory ( list , data . history , callback ) ;
328328 }
329329 } )
330- . fail ( function ( ) {
331- parseStorageToHistory ( list , callback ) ;
330+ . fail ( function ( xhr , status , error ) {
331+ console . error ( xhr . responseText ) ;
332332 } ) ;
333333}
334334
You can’t perform that action at this time.
0 commit comments