aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHolden Rohrer <holden.rohrer@gmail.com>2020-01-08 19:31:26 -0500
committerHolden Rohrer <holden.rohrer@gmail.com>2020-01-08 19:31:26 -0500
commit5932a3eafcfa4c8ea1db44a90bf3a0f72996c624 (patch)
tree9f9dd821a857356e0fa40ce61633f1293b0c5227
parent011ed5ab4890543dc8a5ea5657012fabf2565448 (diff)
made socket more verbose
-rw-r--r--socket.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/socket.js b/socket.js
index 524312e..dfd0999 100644
--- a/socket.js
+++ b/socket.js
@@ -60,7 +60,7 @@ class Socket extends retryws {
this.write = function(chars){ //chars is an list of pairs [ pixel coordinate (y/x < 16), char ]
if (chars.length > 200){
- throw "Too many characters to write";
+ throw "Too many characters to write by server decree";
}
for (var i=0; i<chars.length; i++){
let char = chars[i]