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