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

Add trace errors in server binary #1314

Open
wants to merge 1 commit into
base: move-server-error-to-error-set
Choose a base branch
from

Conversation

haze518
Copy link
Collaborator

@haze518 haze518 commented Oct 26, 2024

No description provided.

@haze518 haze518 requested a review from numinnex October 26, 2024 11:58
@haze518 haze518 force-pushed the add-trace-errors-in-binary branch 3 times, most recently from 62f33f5 to 0478be9 Compare October 26, 2024 12:21
@haze518 haze518 changed the title add trace errors in server binary Add trace errors in server binary Oct 26, 2024
@haze518 haze518 requested review from spetz and hubcio November 2, 2024 06:47
)
.await?;
.await
.with_error(|_| format!("CONSUMER_OFFSET_HANDLER - failed to store consumer offset for stream_id: {}, topic_id: {}, partition_id: {:?}, offset: {}, session: {}",
Copy link
Contributor

Choose a reason for hiding this comment

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

since this with_error method is lazily called only on error, maybe we could try moving the command.partition_id.clone() and offset inside of there.

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.

2 participants