More log.

This commit is contained in:
Julien Fontanet 2015-04-10 16:41:59 +02:00
parent fe9e548e89
commit 326a001c57

View File

@ -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