Skip to content

Commit

Permalink
core: Remove debug information from Error
Browse files Browse the repository at this point in the history
  • Loading branch information
robin-nitrokey committed Oct 14, 2024
1 parent e94f541 commit ebcbb58
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/src/io.rs
Original file line number Diff line number Diff line change
Expand Up @@ -234,8 +234,8 @@ impl Debug for Error {
fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result {
// add pseudo-field kind to debug output to make errors easier to read
f.debug_struct("Error")
.field("code", &self.code)
.field("kind", &self.kind())
// .field("code", &self.code)
// .field("kind", &self.kind())
.finish()
}
}
Expand Down

0 comments on commit ebcbb58

Please sign in to comment.