Skip to content

Commit

Permalink
Change jetstream::Error's Display message
Browse files Browse the repository at this point in the history
  • Loading branch information
thinety authored and Jarema committed Jan 29, 2025
1 parent 755e1f0 commit ba03616
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion async-nats/src/jetstream/errors.rs
Original file line number Diff line number Diff line change
Expand Up @@ -502,8 +502,8 @@ impl fmt::Display for Error {
write!(
fmt,
"{} (code {}, error code {})",
self.code,
self.description.as_ref().unwrap_or(&"unknown".to_string()),
self.code,
self.err_code.0,
)
}
Expand Down

0 comments on commit ba03616

Please sign in to comment.