Skip to content

fix: do not log ack timeout error if aws receiver has no registered handlers#2285

Merged
filmaj merged 1 commit intobolt-fourfrom
bolt-four-aws-ack-timeout
Oct 9, 2024
Merged

fix: do not log ack timeout error if aws receiver has no registered handlers#2285
filmaj merged 1 commit intobolt-fourfrom
bolt-four-aws-ack-timeout

Conversation

@filmaj
Copy link
Contributor

@filmaj filmaj commented Oct 9, 2024

fixes #2284.

  • also, expose unhandledRequestTimeoutMillis receiver option on AwsLambdaReceiver, just like HTTPReceiver has (to ease testing of timeouts, mainly)
  • expose a logger getter on AwsLambdaReceiver (to ease testing, mainly)

…hen using the `AwsLambdaReceiver`, do not log out an error related to `ack` timeout. fixes #2284.

- also, expose `unhandledRequestTimeoutMillis` receiver option on `AwsLambdaReceiver`, just like `HTTPReceiver` has (to ease testing of timeouts, mainly)
- expose a `logger` getter on `AwsLambdaReceiver` (to ease testing, mainly)
@filmaj filmaj added bug M-T: confirmed bug report. Issues are confirmed when the reproduction steps are documented semver:patch labels Oct 9, 2024
@filmaj filmaj added this to the 4.0.0 milestone Oct 9, 2024
@filmaj filmaj requested a review from a team October 9, 2024 15:16
@filmaj filmaj self-assigned this Oct 9, 2024
@codecov
Copy link

codecov bot commented Oct 9, 2024

Codecov Report

Attention: Patch coverage is 93.33333% with 1 line in your changes missing coverage. Please review.

Project coverage is 90.72%. Comparing base (6d20f10) to head (738a55c).
Report is 1 commits behind head on bolt-four.

Files with missing lines Patch % Lines
src/receivers/AwsLambdaReceiver.ts 93.33% 1 Missing ⚠️
Additional details and impacted files
@@              Coverage Diff              @@
##           bolt-four    #2285      +/-   ##
=============================================
- Coverage      90.79%   90.72%   -0.08%     
=============================================
  Files             20       20              
  Lines           5576     5586      +10     
  Branches         602      600       -2     
=============================================
+ Hits            5063     5068       +5     
- Misses           505      510       +5     
  Partials           8        8              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@filmaj filmaj merged commit bdf8efd into bolt-four Oct 9, 2024
@filmaj filmaj deleted the bolt-four-aws-ack-timeout branch October 9, 2024 16:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug M-T: confirmed bug report. Issues are confirmed when the reproduction steps are documented semver:patch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants