Skip to content

Commit b92ff49

Browse files
committed
updated error message
1 parent ebb2cfb commit b92ff49

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

packages/core/src/Providers/AWSCloudWatchProvider.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -504,12 +504,9 @@ class AWSCloudWatchProvider implements LoggingProvider {
504504
logger.error(
505505
`error when calling _safeUploadLogEvents in the timer interval - ${err}`
506506
);
507-
logger.error(
508-
`Max retries (${this._maxRetries}) reached. Stopping log uploads.`
509-
);
510507
} else if (this._retryCount == this._maxRetries) {
511508
logger.error(
512-
`Max retries (${this._maxRetries}) reached. Stopping log uploads.`
509+
`CloudWatch log upload failed after ${this._maxRetries} attempts. Suppressing further error logs. Upload attempts will continue in the background.`
513510
);
514511
}
515512
}

0 commit comments

Comments
 (0)