Commit 1eea3667 authored by Boxiang Sun's avatar Boxiang Sun

slapos_jio: Suppress the disconnect error in vifib website

parent 0e502ce9
...@@ -130,7 +130,10 @@ ...@@ -130,7 +130,10 @@
}) })
.push(function (result) { .push(function (result) {
return getStatus(gadget, result); return getStatus(gadget, result);
}); })
.push(undefined, function (error) {
// Surpress the error when user disconnected
});
} }
gadget_klass gadget_klass
......
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