Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

sannya-singal
Copy link
Contributor

@sannya-singal sannya-singal commented Aug 14, 2025

Motivation

Following up on the discussion here, this PR aims to improve the log message for executing SQS query operation. Previously, the error handling in the SQS request handler logged errors like this:
LOG.error("exception", exc_info=LOG.isEnabledFor(logging.DEBUG))
while this ensured stack traces were only shown in debug mode, the actual log message

exception

was not really useful.

Changes

This PR improves the logging message to include more context in the log ensuring that it carries useful information even when stack traces are suppressed when debug mode is disabled.

@sannya-singal sannya-singal added this to the 4.8 milestone Aug 14, 2025
@sannya-singal sannya-singal self-assigned this Aug 14, 2025
@sannya-singal sannya-singal added the semver: patch Non-breaking changes which can be included in patch releases label Aug 14, 2025
Copy link

github-actions bot commented Aug 14, 2025

Test Results - Preflight, Unit

22 107 tests  ±0   20 372 ✅ ±0   6m 23s ⏱️ -1s
     1 suites ±0    1 735 💤 ±0 
     1 files   ±0        0 ❌ ±0 

Results for commit 4b2afd3. ± Comparison against base commit cfbfe5a.

♻️ This comment has been updated with latest results.

Copy link

github-actions bot commented Aug 14, 2025

Test Results (amd64) - Acceptance

7 tests  ±0   5 ✅ ±0   3m 7s ⏱️ -1s
1 suites ±0   2 💤 ±0 
1 files   ±0   0 ❌ ±0 

Results for commit 4b2afd3. ± Comparison against base commit cfbfe5a.

♻️ This comment has been updated with latest results.

Copy link

github-actions bot commented Aug 14, 2025

Test Results (amd64) - Integration, Bootstrap

    5 files      5 suites   1h 31m 27s ⏱️
3 186 tests 3 054 ✅ 132 💤 0 ❌
3 197 runs  3 059 ✅ 138 💤 0 ❌

Results for commit 4b2afd3.

♻️ This comment has been updated with latest results.

Copy link

github-actions bot commented Aug 14, 2025

LocalStack Community integration with Pro

    2 files      2 suites   1h 3m 4s ⏱️
3 167 tests 3 032 ✅ 135 💤 0 ❌
3 169 runs  3 032 ✅ 137 💤 0 ❌

Results for commit 4b2afd3.

♻️ This comment has been updated with latest results.

@sannya-singal sannya-singal marked this pull request as ready for review August 14, 2025 09:52
@sannya-singal sannya-singal requested a review from bentsku August 14, 2025 09:52
Copy link
Contributor

@bentsku bentsku left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks a lot for following up 🚀

@sannya-singal sannya-singal merged commit 45371e6 into main Aug 14, 2025
39 checks passed
@sannya-singal sannya-singal deleted the sqs-query-exception branch August 14, 2025 11:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver: patch Non-breaking changes which can be included in patch releases
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants