-
Notifications
You must be signed in to change notification settings - Fork 2
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: Stream fence
and trim
commands
#46
Conversation
Resolves: #33 Signed-off-by: Vaibhav Rabber <[email protected]>
@@ -90,7 +94,7 @@ impl std::fmt::Display for ServiceErrorContext { | |||
|
|||
/// Error for holding relevant info from `tonic::Status` | |||
#[derive(thiserror::Error, Debug, Default)] | |||
#[error("{status}: \n{message}")] | |||
#[error("{status}:\n {message}")] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the space there helps look like an inline, does it mess up with the output
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The space was in the wrong place, this should fix it :)
Signed-off-by: Vaibhav Rabber <[email protected]>
..Default::default() | ||
ClientError::Conversion(conv) => Self { | ||
message: conv.to_string(), | ||
status: "Failed to convert SDK type".to_string(), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah I meant to also include the underlying message conv
, we shouldn't throw away the context.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
conv
is the message here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh doh, my original complaint is not valid ;P
Signed-off-by: Vaibhav Rabber <[email protected]>
Resolves: #33