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: logging with err field #421

Merged
merged 2 commits into from
Aug 23, 2023
Merged

fix: logging with err field #421

merged 2 commits into from
Aug 23, 2023

Conversation

terencechain
Copy link
Collaborator

No description provided.

@@ -189,6 +189,7 @@ func (et *Tracker) Spawn(ctx context.Context) {
return
}
if err := et.Act(ctx); err != nil {
fields["err"] = err
srvlog.Error("Could not act with edge tracker", err)
Copy link
Collaborator

Choose a reason for hiding this comment

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

I have no context here, but is this intentional? fields seems to not be used in this log statement

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Thanks!

@terencechain terencechain merged commit fb9d12b into main Aug 23, 2023
@terencechain terencechain deleted the fix-err-log branch August 23, 2023 14:14
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.

4 participants