Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dont log handled exception as error with backtrace #776

Merged
merged 2 commits into from
Oct 3, 2024

Conversation

spuun
Copy link
Member

@spuun spuun commented Sep 3, 2024

WHAT is this pull request doing?

This will change log level and remove backtrace when we log errors in the shovel. Since the errors are handled and the shovel should reconnect warn should be enough.

This PR needs cloudamqp/amqp-client.cr#47 to get rid of all scary logging.

HOW can this pull request be tested?

Run a shovel and close the connection from mgmt ui.

@spuun spuun marked this pull request as ready for review September 13, 2024 11:44
@spuun
Copy link
Member Author

spuun commented Sep 13, 2024

Note that this won't take fully effect until we've released a new version of amqp-client.cr.

@spuun spuun force-pushed the shovels-less-noisy-logging branch from 56b2a00 to 9e6d749 Compare October 2, 2024 07:37
@spuun spuun merged commit 3bb0dd3 into main Oct 3, 2024
25 checks passed
@spuun spuun deleted the shovels-less-noisy-logging branch October 3, 2024 11:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants