Add (minor) information on error
[contrib/cloudeebus.git] / doc / sample / cloudeebus.html
index c177859..b03391c 100644 (file)
@@ -46,7 +46,7 @@ function gotNotifProxy(proxy) {
 }
 
 function gotBusProxy(proxy) {
-  proxy.ListNames(logCB, errorCB);
+  proxy.ListNames().then(logCB, errorCB);
 }
 
 function connectSuccess() {