From 326a001c5775f2f8563f5b8cce3a9ea3872ffc6a Mon Sep 17 00:00:00 2001 From: Julien Fontanet Date: Fri, 10 Apr 2015 16:41:59 +0200 Subject: [PATCH] More log. --- packages/xen-api/src/index.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/xen-api/src/index.js b/packages/xen-api/src/index.js index 31c9e8648..7074df94f 100644 --- a/packages/xen-api/src/index.js +++ b/packages/xen-api/src/index.js @@ -211,6 +211,8 @@ export class Xapi extends EventEmitter { return this._transportCall(method, args) }) .catch(isNetworkError, isXapiNetworkError, () => { + debug('%s: a network error happened', this._humanId) + // TODO: ability to cancel the connection // TODO: ability to force immediate reconnection // TODO: implement back-off