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

Stop passing err to logger.error #925

Merged
merged 4 commits into from Nov 15, 2022
Merged

Conversation

Beckyrose200
Copy link
Contributor

@Beckyrose200 Beckyrose200 commented Nov 14, 2022

DEFRA/water-abstraction-team#45
DEFRA/water-abstraction-team#42

Here we are trying to make the error logs more usable. Currently when an error happens the logs are getting jammed up with thousands of lines making them difficult to read and unusable. This change stops that pollution making them more usable.

DEFRA/water-abstraction-team#45

Here we are trying to make the error logs more usable. Currently when an error happens the logs are getting jammed up with thousands of lines making them difficult to read and unusable. This change stops that pollution making them more usable.
@Beckyrose200 Beckyrose200 added the housekeeping Refactoring, tidying up or other work which supports the project label Nov 14, 2022
@Beckyrose200 Beckyrose200 self-assigned this Nov 14, 2022
@Beckyrose200 Beckyrose200 marked this pull request as ready for review November 14, 2022 14:08
Copy link
Member

@Cruikshanks Cruikshanks left a comment

Choose a reason for hiding this comment

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

The TODO was something I instructed you to add.

On the rest, you've unfortunately been penalised because you've touched code files that already have poor test coverage.

If we had all the time in the world we'd get it bumped up. But we don't. So, happy to approve and ignore SonarCloud on this one.

raspberry

@Beckyrose200 Beckyrose200 merged commit 887a1c8 into main Nov 15, 2022
@Beckyrose200 Beckyrose200 deleted the stop-passing-err-to-logger branch November 15, 2022 09:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
housekeeping Refactoring, tidying up or other work which supports the project
Projects
None yet
2 participants