log error message

master
rasul 5 years ago
parent 0cff41a4f2
commit 29e6f59864

@ -65,7 +65,10 @@ 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(FromSqlError::Other(Box::from(e))), Err(e) => {
log::error!("{}({}) :: Uuid::parse_str(\"{}\") :: {}", file!(), line!(), s, e);
Err(FromSqlError::Other(Box::from(e)))
}
} }
} }
} }

Loading…
Cancel
Save