mirror of
https://github.com/sasjs/adapter.git
synced 2026-01-15 16:10:06 +00:00
chore(*): increment error count
This commit is contained in:
@@ -1141,6 +1141,7 @@ export class SASViyaApiClient {
|
|||||||
this.debug
|
this.debug
|
||||||
)
|
)
|
||||||
.catch((err) => {
|
.catch((err) => {
|
||||||
|
errorCount++
|
||||||
if (
|
if (
|
||||||
pollCount >= MAX_POLL_COUNT ||
|
pollCount >= MAX_POLL_COUNT ||
|
||||||
errorCount >= MAX_ERROR_COUNT
|
errorCount >= MAX_ERROR_COUNT
|
||||||
|
|||||||
Reference in New Issue
Block a user