Skip to content

Commit

Permalink
Improve error display
Browse files Browse the repository at this point in the history
  • Loading branch information
bash committed Mar 28, 2024
1 parent 5145c19 commit 9ffd681
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ pub enum Error {
#[error("I/O error")]
Io(#[from] io::Error),
/// The terminal responded using an unsupported response format.
#[error("failed to parse response {0:?}")]
#[error("failed to parse response {}", String::from_utf8_lossy(.0))]
Parse(Vec<u8>),
/// The query timed out. This can happen because \
/// either the terminal does not support querying for colors \
Expand Down

0 comments on commit 9ffd681

Please sign in to comment.