From 3552b3a9f71dc21a7bc71c20be98fe9f6334b2d8 2014-12-09 01:18:09 From: Jonathan Frederic Date: 2014-12-09 01:18:09 Subject: [PATCH] Log save state callback failures --- diff --git a/IPython/html/static/widgets/js/manager.js b/IPython/html/static/widgets/js/manager.js index 20d1365..22b4bae 100644 --- a/IPython/html/static/widgets/js/manager.js +++ b/IPython/html/static/widgets/js/manager.js @@ -43,7 +43,7 @@ define([ if (save_callback) { that.get_state(options).then(function(state) { save_callback.call(that, state); - }); + }).catch(utils.reject('Could not call widget save state callback.', true)); } }); };