Correct EventSource error handler.

This commit is contained in:
James Coglan
2012-01-13 21:25:39 +00:00
parent 88e247c923
commit 6be12a06c2
+1 -1
View File
@@ -30,7 +30,7 @@
});
socket.onerror = function(event) {
log('ERROR: ' + error.message);
log('ERROR: ' + event.message);
};
</script>