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

chore(subsystems/discord): catch runtime exception and log only message #5063

Merged
merged 3 commits into from
Aug 26, 2022

Conversation

skaldarnar
Copy link
Member

I noticed full stracktraces being logged from the subsystem for Discord
due to missing sockets or files. These come from runtime exceptions that
we don't catch.

I think that the respective error message is sufficient (in most cases)
to inform that the Discord subsystem could not be loaded. This reduces
the log spam during startup.

I noticed full stracktraces being logged from the subsystem for Discord
due to missing sockets or files. These come from runtime exceptions that
we don't catch.

I think that the respective error message is sufficient (in most cases)
to inform that the Discord subsystem could not be loaded. This reduces
the log spam during startup.
@skaldarnar skaldarnar added Size: S Small effort likely only affecting a single area and requiring little to no research Topic: Stabilization Requests, Issues and Changes related to improving stablity and reducing flakyness Type: Chore Request for or implementation of maintenance changes labels Aug 21, 2022
@github-actions github-actions bot added the Type: Bug Issues reporting and PRs fixing problems label Aug 21, 2022
@skaldarnar skaldarnar changed the title fix(subsystems/discord): catch runtime exception and log only message chore(subsystems/discord): catch runtime exception and log only message Aug 21, 2022
DarkWeird
DarkWeird previously approved these changes Aug 25, 2022
Copy link
Contributor

@DarkWeird DarkWeird left a comment

Choose a reason for hiding this comment

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

Looks resonable

@jdrueckert jdrueckert merged commit 5e3d63f into develop Aug 26, 2022
@jdrueckert jdrueckert deleted the fix/catch-discord-error branch August 26, 2022 19:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Size: S Small effort likely only affecting a single area and requiring little to no research Topic: Stabilization Requests, Issues and Changes related to improving stablity and reducing flakyness Type: Bug Issues reporting and PRs fixing problems Type: Chore Request for or implementation of maintenance changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants