Skip to content

Commit 6d98cda

Browse files
committed
updated syntax error
1 parent b92ff49 commit 6d98cda

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/core/src/Providers/AWSCloudWatchProvider.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -504,7 +504,7 @@ class AWSCloudWatchProvider implements LoggingProvider {
504504
logger.error(
505505
`error when calling _safeUploadLogEvents in the timer interval - ${err}`
506506
);
507-
} else if (this._retryCount == this._maxRetries) {
507+
} else if (this._retryCount === this._maxRetries) {
508508
logger.error(
509509
`CloudWatch log upload failed after ${this._maxRetries} attempts. Suppressing further error logs. Upload attempts will continue in the background.`
510510
);

0 commit comments

Comments
 (0)