Skip to content

Commit

Permalink
Improve
Browse files Browse the repository at this point in the history
  • Loading branch information
iambriccardo committed Jul 30, 2024
1 parent 3a12589 commit be9e4e5
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion relay-server/src/services/buffer/sqlite_envelope_store.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,12 @@ impl<'a> TryFrom<&'a Envelope> for InsertEnvelope {
let encoded_envelope = match value.to_vec() {
Ok(encoded_envelope) => encoded_envelope,
Err(err) => {
relay_log::error!(error = &err as &dyn Error, "failed to serialize envelope",);
relay_log::error!(
error = &err as &dyn Error,
own_key = own_key.to_string(),
sampling_key = sampling_key.to_string(),
"failed to serialize envelope",
);

return Err(err);
}
Expand Down

0 comments on commit be9e4e5

Please sign in to comment.