mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-17 03:00:13 +00:00
chore(rust): correctly format values in errors
This commit is contained in:
parent
347add8998
commit
7737850afb
15 changed files with 54 additions and 62 deletions
|
|
@ -124,7 +124,7 @@ pub async fn runner(
|
|||
.increment(1);
|
||||
|
||||
if let Err(error) = shard_state.socket_closed(shard_id).await {
|
||||
error!("failed to update shard state for socket closure: {error}");
|
||||
error!(?error, "failed to update shard state for socket closure");
|
||||
}
|
||||
|
||||
continue;
|
||||
|
|
@ -145,7 +145,7 @@ pub async fn runner(
|
|||
continue;
|
||||
}
|
||||
Err(error) => {
|
||||
error!("shard {shard_id} failed to parse gateway event: {error}");
|
||||
error!(?error, ?shard_id, "failed to parse gateway event");
|
||||
continue;
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue