From 4a4dd4da9d85834be4400fd7d3e97aec48689a30 2015-03-20 00:44:53
From: Matthias Bussonnier <bussonniermatthias@gmail.com>
Date: 2015-03-20 00:44:53
Subject: [PATCH] Merge pull request #8092 from Carreau/log-erros

log error when there is one.
---

diff --git a/IPython/html/static/tree/js/notebooklist.js b/IPython/html/static/tree/js/notebooklist.js
index 70b396c..f2f1de8 100644
--- a/IPython/html/static/tree/js/notebooklist.js
+++ b/IPython/html/static/tree/js/notebooklist.js
@@ -92,6 +92,7 @@ define([
                             OK: {'class': 'btn-primary'}
                         }
                     });
+                    console.warn('Error durring New file creation', e);
                 });
                 that.load_sessions();
             });
@@ -111,6 +112,7 @@ define([
                             OK: {'class': 'btn-primary'}
                         }
                     });
+                    console.warn('Error durring New directory creation', e);
                 });
                 that.load_sessions();
             });
@@ -616,6 +618,7 @@ define([
                                     OK: {'class': 'btn-primary'}
                                 }
                             });
+                            console.warn('Error durring renaming :', e);
                         });
                     }
                 },
@@ -669,6 +672,7 @@ define([
                                         OK: {'class': 'btn-primary'}
                                     }
                                 });
+                                console.warn('Error durring content deletion:', e);
                             });
                         });
                     }
@@ -708,6 +712,7 @@ define([
                                         OK: {'class': 'btn-primary'}
                                     }
                                 });
+                                console.warn('Error durring content duplication', e);
                             });
                         });
                     }
@@ -782,6 +787,7 @@ define([
                                 }
                             }}
                         });
+                        console.warn('Error durring notebook uploading', e);
                         return false;
                     }
                     content_type = 'application/json';