Skip to content
Browse files

Correct EventSource error handler.

  • Loading branch information...
1 parent 3ba69e4 commit 22a3507dad12614f2a3139063a65d65bcf92c0ac @jcoglan jcoglan committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 examples/sse.html
View
2 examples/sse.html
@@ -30,7 +30,7 @@
});
socket.onerror = function(event) {
- log('ERROR: ' + error.message);
+ log('ERROR: ' + event.message);
};
</script>

0 comments on commit 22a3507

Please sign in to comment.
Something went wrong with that request. Please try again.