Skip to content

Commit

Permalink
Include inscription ID in text inscription decode error (#1540)
Browse files Browse the repository at this point in the history
  • Loading branch information
casey authored Feb 7, 2023
1 parent 933a005 commit b6ab1d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/subcommand/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -802,7 +802,7 @@ impl Server {
Ok(
PreviewTextHtml {
text: str::from_utf8(content)
.map_err(|err| anyhow!("Failed to decode UTF-8: {err}"))?,
.map_err(|err| anyhow!("Failed to decode {inscription_id} text: {err}"))?,
}
.into_response(),
)
Expand Down

0 comments on commit b6ab1d0

Please sign in to comment.