Don't log unnecessary error

This commit is contained in:
Kitaiti Makoto 2021-12-05 19:32:06 +09:00
parent 25fe2ad802
commit d98132db80

View File

@ -276,10 +276,7 @@ impl User {
)) ))
.execute(conn) .execute(conn)
.map(|_| ()) .map(|_| ())
.map_err(|err| { .map_err(|err| Error::from(err))
tracing::error!("{:?}", err);
Error::from(err)
})
}) })
} }