We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 087d070 commit 77c6be7Copy full SHA for 77c6be7
crates/crates_io_worker/src/worker.rs
@@ -42,8 +42,7 @@ impl<Context: Clone + Send + Sync + 'static> Worker<Context> {
42
sleep(self.poll_interval).await;
43
}
44
Err(error) => {
45
- let error = format!("{error:#}");
46
- error!(error, "Failed to run job");
+ error!("Failed to run job: {error}");
47
48
49
@@ -99,8 +98,7 @@ impl<Context: Clone + Send + Sync + 'static> Worker<Context> {
99
98
storage::delete_successful_job(conn, job_id)?
100
101
102
103
- warn!(error, "Failed to run job");
+ warn!("Failed to run job: {error}");
104
storage::update_failed_job(conn, job_id);
105
106
0 commit comments