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

feat(codegen): restore default log level, improve error messages #1211

Conversation

jonaro00
Copy link
Member

@jonaro00 jonaro00 commented Sep 7, 2023

Description of change

How has this been tested? (if applicable)

Copy link
Contributor

@iulianbarbu iulianbarbu left a comment

Choose a reason for hiding this comment

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

Lgtm

Copy link
Member

@chesedo chesedo left a comment

Choose a reason for hiding this comment

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

LGTM 🥳

Cargo.toml Show resolved Hide resolved
Copy link
Contributor

@oddgrd oddgrd left a comment

Choose a reason for hiding this comment

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

Great! Just one comment on styling of error messages.

@@ -375,12 +377,12 @@ async fn load(
if response.success {
Ok(())
} else {
error!(error = %response.message, "failed to load service");
error!(error = %response.message, "Failed to load service");
Copy link
Contributor

@oddgrd oddgrd Sep 8, 2023

Choose a reason for hiding this comment

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

Nit: IMO we should be consistent with the casing of error messages (and potentially other traces too, but at least error messages), and lowercase is the norm (e.g. rust std uses lowercase without trailing punctuation). We could also discuss this internally and agree on a standard.

Copy link
Contributor

@iulianbarbu iulianbarbu left a comment

Choose a reason for hiding this comment

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

LGTM!

…huttle into feature/eng-1213-tracing-default-log-level
@jonaro00 jonaro00 merged commit e8e0f12 into shuttle-hq:feat/shuttle-logger-service Sep 8, 2023
17 of 34 checks passed
@jonaro00 jonaro00 deleted the feature/eng-1213-tracing-default-log-level branch September 8, 2023 10:11
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.

None yet

5 participants