diff --git a/shellinabox/shell_in_a_box.js b/shellinabox/shell_in_a_box.js index 9fd5c10..f6efce8 100644 --- a/shellinabox/shell_in_a_box.js +++ b/shellinabox/shell_in_a_box.js @@ -179,14 +179,10 @@ ShellInABox.prototype.sendRequest = function(request) { } } }(this); - try { - if (this.session) { - request.send(content); - } else { - request.send(); - } - } catch (e) { - alert('' + e + '\n' + this.url + '\n' + content); + if (this.session) { + request.send(content); + } else { + request.send(); } };