1
0
mirror of https://github.com/sasjs/adapter.git synced 2026-01-06 20:10:05 +00:00

chore(*): increment error count

This commit is contained in:
Krishna Acondy
2021-05-11 10:20:28 +01:00
parent c1b200b0d8
commit 67ec27bab7

View File

@@ -1141,6 +1141,7 @@ export class SASViyaApiClient {
this.debug
)
.catch((err) => {
errorCount++
if (
pollCount >= MAX_POLL_COUNT ||
errorCount >= MAX_ERROR_COUNT