From 8bc6c81eb5e8db47e4096e1217e3392902460a9a 2015-03-19 22:27:30 From: Matthias Bussonnier Date: 2015-03-19 22:27:30 Subject: [PATCH] log error when there is one. Otherwise it's a pain to debug --- 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';