Skip to content

Commit f779ef8

Browse files
committed
Remove redundant proxy error listeners
1 parent 974a11b commit f779ef8

File tree

2 files changed

+0
-16
lines changed

2 files changed

+0
-16
lines changed

client/index.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -81,12 +81,6 @@ var onSocketMsg = {
8181
if(initial) return initial = false;
8282
reloadApp();
8383
},
84-
"proxy-error": function(errors) {
85-
log("info", "[WDS] Proxy error.");
86-
for(var i = 0; i < errors.length; i++)
87-
log("error", stripAnsi(errors[i]));
88-
if(initial) return initial = false;
89-
},
9084
close: function() {
9185
log("error", "[WDS] Disconnected!");
9286
}

client/live.js

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -69,16 +69,6 @@ $(function() {
6969
$errors.show();
7070
iframe.hide();
7171
},
72-
"proxy-error": function(errors) {
73-
status.text("Could not proxy to content base target!");
74-
okness.text("Proxy error.");
75-
$errors.text("\n" + stripAnsi(errors.join("\n\n\n")) + "\n\n");
76-
header.css({
77-
borderColor: "#ebcb8b"
78-
});
79-
$errors.show();
80-
iframe.hide();
81-
},
8272
close: function() {
8373
status.text("");
8474
okness.text("Disconnected.");

0 commit comments

Comments
 (0)