Skip to content

Commit

Permalink
updated syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
yuhengshs committed Sep 12, 2024
1 parent b92ff49 commit 6d98cda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/Providers/AWSCloudWatchProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,7 @@ class AWSCloudWatchProvider implements LoggingProvider {
logger.error(
`error when calling _safeUploadLogEvents in the timer interval - ${err}`
);
} else if (this._retryCount == this._maxRetries) {
} else if (this._retryCount === this._maxRetries) {
logger.error(
`CloudWatch log upload failed after ${this._maxRetries} attempts. Suppressing further error logs. Upload attempts will continue in the background.`
);
Expand Down

0 comments on commit 6d98cda

Please sign in to comment.