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

Don't log on Slack errors that occur when running CLI commands #32

Open
gturri opened this issue Jan 23, 2024 · 2 comments
Open

Don't log on Slack errors that occur when running CLI commands #32

gturri opened this issue Jan 23, 2024 · 2 comments

Comments

@gturri
Copy link
Member

gturri commented Jan 23, 2024

Errors that occur when we run the CLI commands are already seen by the person running it, it's pointless to report it on Slack.
(nb: perhaps it should be tackled not by the code in this repo, but by the local conf. In which case it would be great to document this)

@gturri
Copy link
Member Author

gturri commented Apr 20, 2024

(not sure how it can be achieved. Hopefully I'll get some answers on https://stackoverflow.com/q/78359833/1796345 )

@gturri
Copy link
Member Author

gturri commented Apr 22, 2024

If this symfony/monolog-bundle#480 can work, then we could fix this with a simple custom handler that would wrap the Slack handler, and filter out everything in a CLI context.

gturri added a commit that referenced this issue Apr 26, 2024
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

No branches or pull requests

1 participant