Commit e13b0b5c authored by Jonathan Wilkes's avatar Jonathan Wilkes
Browse files

Revert "add prompt to get socket error before the GUI bails"

This reverts commit ac536d2f.
parent 7bfd0b31
...@@ -1764,14 +1764,6 @@ function connect_as_client() { ...@@ -1764,14 +1764,6 @@ function connect_as_client() {
client.setNoDelay(true); client.setNoDelay(true);
// uncomment the next line to use fast_parser (then set its callback below) // uncomment the next line to use fast_parser (then set its callback below)
//client.setEncoding("utf8"); //client.setEncoding("utf8");
client.on("error", function(e) {
var eString = "";
Object.keys(e).forEach(function(k) {
eString += " " + k + ": " + e[k];
});
pd_window.prompt("Error:" + eString);
});
client.connect(PORT, HOST, function() { client.connect(PORT, HOST, function() {
console.log("CONNECTED TO: " + HOST + ":" + PORT); console.log("CONNECTED TO: " + HOST + ":" + PORT);
}); });
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment