projects
/
contrib
/
cloudeebus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
89dc0e8
)
use request onerror handler on callback exceptions also
author
Luc Yriarte
<luc.yriarte@intel.com>
Mon, 15 Apr 2013 16:03:48 +0000
(18:03 +0200)
committer
Frederic PAUT
<frederic.paut@linux.intel.com>
Fri, 24 May 2013 08:02:06 +0000
(10:02 +0200)
cloudeebus/cloudeebus.js
patch
|
blob
|
history
diff --git
a/cloudeebus/cloudeebus.js
b/cloudeebus/cloudeebus.js
index
18e7317
..
083dd79
100644
(file)
--- a/
cloudeebus/cloudeebus.js
+++ b/
cloudeebus/cloudeebus.js
@@
-548,8
+548,8
@@
cloudeebus.ProxyObject.prototype.callMethod = function(ifName, method, args, suc
}
catch (e) {
cloudeebus.log("Method callback exception: " + e);
- if (
errorCB
)
-
errorCB
(e);
+ if (
request.onerror
)
+
request.onerror
(e);
}
}
}