|
|
|
@ -65,7 +65,10 @@ impl FromSql for Id {
|
|
|
|
|
|
|
|
|
|
match Uuid::parse_str(s) {
|
|
|
|
|
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)))
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|