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 server_test in frontend-service #1052

Merged
merged 1 commit into from
Oct 24, 2023

Conversation

sven-urbanski-freiheit-com
Copy link
Contributor

The function runServer used the Fatal function of the zap logger. This has really unfortunate results in tests: You cannot see any details, except the name of the test and that it failed Instead we should always log with "Error" and then return the error (or only return the error).

services/frontend-service/pkg/cmd/server.go Outdated Show resolved Hide resolved
The function runServer used the Fatal function of the zap logger.
This has really unfortunate results in tests: You cannot see any details, except the name of the test and that it failed
Instead we should always log with "Error" and then return the error (or only return the error)
@sven-urbanski-freiheit-com sven-urbanski-freiheit-com merged commit 4681c4f into main Oct 24, 2023
10 checks passed
@sven-urbanski-freiheit-com sven-urbanski-freiheit-com deleted the su-fix-frontend-server-test-2 branch October 24, 2023 12:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants