Don't log unnecessary error
This commit is contained in:
parent
25fe2ad802
commit
d98132db80
@ -276,10 +276,7 @@ impl User {
|
||||
))
|
||||
.execute(conn)
|
||||
.map(|_| ())
|
||||
.map_err(|err| {
|
||||
tracing::error!("{:?}", err);
|
||||
Error::from(err)
|
||||
})
|
||||
.map_err(|err| Error::from(err))
|
||||
})
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user