Skip to content

Commit

Permalink
make error format for skippable frames nicer
Browse files Browse the repository at this point in the history
  • Loading branch information
KillingSpark committed Mar 15, 2023
1 parent 6b5e4e8 commit 993d0a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/frame.rs
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ pub enum ReadFrameHeaderError {
DictionaryIdReadError(#[source] io::Error),
#[error("Error while reading frame content size: {0}")]
FrameContentSizeReadError(#[source] io::Error),
#[error("SkippableFrame encountered with MagicNumber {0} and length {1} bytes")]
#[error("SkippableFrame encountered with MagicNumber 0x{0:X} and length {1} bytes")]
SkipFrame(u32, u32),
}

Expand Down

0 comments on commit 993d0a7

Please sign in to comment.