diff --git a/IPython/html/static/notebook/js/outputarea.js b/IPython/html/static/notebook/js/outputarea.js
index 34a6ce3..d6af41a 100644
--- a/IPython/html/static/notebook/js/outputarea.js
+++ b/IPython/html/static/notebook/js/outputarea.js
@@ -465,6 +465,10 @@ define([
OutputArea.prototype.append_stream = function (json) {
var text = json.text;
+ if (typeof text !== 'string') {
+ console.error("Stream output is invalid (missing text)", json);
+ return false;
+ }
var subclass = "output_"+json.name;
if (this.outputs.length > 0){
// have at least one output to consider