Skip to content

Commit aea6de4

Browse files
committed
fixup: include failed-to-parse str in error message
1 parent 356fa10 commit aea6de4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

magic-nix-cache/src/pbh.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ async fn handle_events(state: State, dnixd_uds_socket_path: &PathBuf) -> ! {
9696
let Ok(event): core::result::Result<BuiltPathResponseEventV1, _> =
9797
serde_json::from_slice(event_str)
9898
else {
99-
tracing::error!("failed to decode built-path response as BuiltPathResponseEventV1");
99+
tracing::error!(event_str, "failed to decode built-path response as BuiltPathResponseEventV1");
100100
continue;
101101
};
102102

0 commit comments

Comments
 (0)