summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2009-03-24 14:44:45 -0400
committerGravatar Adam Chlipala <adamc@hcoop.net>2009-03-24 14:44:45 -0400
commitecbb6cad02cdce70c7dcc612b446d35bac70652b (patch)
tree12a2cd34bffd3e5c5f6f7161f851f2b5ce771889 /lib
parent015297d90b7b9e87034a100d9ce417af6929eaa6 (diff)
Transactionalize channel operations
Diffstat (limited to 'lib')
-rw-r--r--lib/js/urweb.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/js/urweb.js b/lib/js/urweb.js
index 6cb5c60a..1f6ecb3d 100644
--- a/lib/js/urweb.js
+++ b/lib/js/urweb.js
@@ -246,7 +246,7 @@ function listener() {
if (isok) {
var lines = xhr.responseText.split("\n");
if (lines.length < 2)
- whine("Empty message from remote server");
+ throw "Empty message from remote server";
for (var i = 0; i+1 < lines.length; i += 2) {
var chn = lines[i];