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)
.map(|_| ())
.map_err(|err| {
tracing::error!("{:?}", err);
Error::from(err)
})
.map_err(|err| Error::from(err))
})
}