master
rasul 5 years ago
parent 61b769b3c1
commit 222aa967a1

@ -77,7 +77,13 @@ impl FromSql for Id {
match Uuid::parse_str(s) { match Uuid::parse_str(s) {
Ok(id) => return Ok(Self(id)), Ok(id) => return Ok(Self(id)),
Err(e) => { Err(e) => {
log::error!("{}({}) :: Uuid::parse_str(\"{}\") :: {}", file!(), line!(), s, e); log::error!(
"{}({}) :: Uuid::parse_str(\"{}\") :: {}",
file!(),
line!(),
s,
e
);
Err(FromSqlError::Other(Box::from(e))) Err(FromSqlError::Other(Box::from(e)))
} }
} }

Loading…
Cancel
Save