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)); } }); };