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

slapos_jio: Suppress the disconnect error in vifib website

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