Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Wynn
purr-data
Commits
e13b0b5c
Commit
e13b0b5c
authored
Feb 21, 2019
by
Jonathan Wilkes
Browse files
Revert "add prompt to get socket error before the GUI bails"
This reverts commit
ac536d2f
.
parent
7bfd0b31
Changes
1
Hide whitespace changes
Inline
Side-by-side
pd/nw/pdgui.js
View file @
e13b0b5c
...
...
@@ -1764,14 +1764,6 @@ function connect_as_client() {
client
.
setNoDelay
(
true
);
// uncomment the next line to use fast_parser (then set its callback below)
//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
()
{
console
.
log
(
"
CONNECTED TO:
"
+
HOST
+
"
:
"
+
PORT
);
});
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment