From d98132db80b10dec925abab29104e11288f16cc1 Mon Sep 17 00:00:00 2001 From: Kitaiti Makoto Date: Sun, 5 Dec 2021 19:32:06 +0900 Subject: [PATCH] Don't log unnecessary error --- plume-models/src/users.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/plume-models/src/users.rs b/plume-models/src/users.rs index 14ea4e64..de2cd55d 100644 --- a/plume-models/src/users.rs +++ b/plume-models/src/users.rs @@ -276,10 +276,7 @@ impl User { )) .execute(conn) .map(|_| ()) - .map_err(|err| { - tracing::error!("{:?}", err); - Error::from(err) - }) + .map_err(|err| Error::from(err)) }) }