diff options
Diffstat (limited to 'src/db/jobs.rs')
-rw-r--r-- | src/db/jobs.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/db/jobs.rs b/src/db/jobs.rs index 3f84fc8..a80ef68 100644 --- a/src/db/jobs.rs +++ b/src/db/jobs.rs @@ -28,7 +28,7 @@ WHERE Ok(_) => true, Err(Error::RowNotFound) => false, Err(err) => { - error!("Error looking if job should run: {:?}", err); + log::error!("Error looking if job should run: {:?}", err); false } } @@ -48,6 +48,6 @@ WHERE match res { Ok(_) => (), - Err(err) => error!("Error actualizing job last execution: {:?}", err), + Err(err) => log::error!("Error actualizing job last execution: {:?}", err), } } |