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

fix: Fix several missed logging statements #1539

Merged
merged 5 commits into from
Jun 8, 2023

Conversation

eikek
Copy link
Member

@eikek eikek commented Jun 7, 2023

Makes the TestLogger log in the effect and not as a side effect. Same for measuring and logging execution times.

Closes: #1534

eikek added 4 commits June 6, 2023 18:05
At some places, logging effects were not run because they were not
chained correctly. Unfortunately our tests don't use tracked effects
for logging and so they didn't catch these cases.

The `TestLogger` now suspends logging and thus all these issues of
mis-formed logging steps are catched and reported - and then fixed.
@eikek eikek marked this pull request as ready for review June 7, 2023 14:39
@eikek eikek requested a review from a team as a code owner June 7, 2023 14:39
@eikek eikek merged commit 7346d67 into development Jun 8, 2023
@eikek eikek deleted the 1534-token-repo-log-error branch June 8, 2023 09:12
@jachro jachro mentioned this pull request Jun 13, 2023
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.

GET token-repository/projects/:id/tokens does not log error
2 participants