vk-fast-longpoll
Advanced tools
Comparing version 2.0.6 to 2.0.7
@@ -77,3 +77,3 @@ 'use strict'; | ||
form: { code: code } | ||
}).then(executeHandler.bind(this, current), (error) => { | ||
}).then(executeHandler.bind(this, current)).catch((error) => { | ||
setTimeout(self._executeLoop, self._time); | ||
@@ -80,0 +80,0 @@ }); |
@@ -64,3 +64,6 @@ 'use strict'; | ||
} | ||
}, reject); | ||
}).catch((error) => { | ||
console.error(error); | ||
reject(error); | ||
}); | ||
}); | ||
@@ -100,3 +103,4 @@ } | ||
process.nextTick(this.listen.bind(this)); | ||
}, (error) => { | ||
}).catch((error) => { | ||
console.error(error); | ||
process.nextTick(this.listen.bind(this)); | ||
@@ -103,0 +107,0 @@ }); |
@@ -138,3 +138,3 @@ { | ||
}, | ||
"version": "2.0.6" | ||
"version": "2.0.7" | ||
} |
25719
826