diff --git a/IPython/html/static/widgets/js/manager.js b/IPython/html/static/widgets/js/manager.js
index 13b246490..6540631bb 100644
--- a/IPython/html/static/widgets/js/manager.js
+++ b/IPython/html/static/widgets/js/manager.js
@@ -94,7 +94,7 @@ define([
" message was from. Widget will not be displayed"));
} else {
return this.display_view_in_cell(cell, model)
- .catch(utils.reject('View could not be displayed.', true));
+ .catch(utils.reject('Could not display view', true));
}
};
diff --git a/IPython/html/static/widgets/js/widget.js b/IPython/html/static/widgets/js/widget.js
index 01f50076e..a4ae2b6c8 100644
--- a/IPython/html/static/widgets/js/widget.js
+++ b/IPython/html/static/widgets/js/widget.js
@@ -137,14 +137,14 @@ define(["widgets/js/manager",
that._resolve_received_state[parent_id].call();
delete that._resolve_received_state[parent_id];
}
- }).catch(utils.reject("Couldn't resolve state request promise.", true));
+ }).catch(utils.reject("Couldn't resolve state request promise", true));
break;
case 'custom':
this.trigger('msg:custom', msg.content.data.content);
break;
case 'display':
this.widget_manager.display_view(msg, this)
- .catch(utils.reject('Could not display view.', true));
+ .catch(utils.reject('Could not process display view msg', true));
break;
}
},
@@ -159,7 +159,7 @@ define(["widgets/js/manager",
} finally {
that.state_lock = null;
}
- }, utils.reject("Couldn't set model state", true));
+ }).catch(utils.reject("Couldn't set model state", true));
},
get_state: function() {