log state res error

Signed-off-by: girlbossceo <june@girlboss.ceo>
This commit is contained in:
girlbossceo 2023-09-24 10:17:06 -04:00
parent 28b63e913f
commit 0390d19b56

View file

@ -974,7 +974,8 @@ impl Service {
res.ok().flatten()
}) {
Ok(new_state) => new_state,
Err(_) => {
Err(e) => {
error!("State resolution failed: {}", e);
return Err(Error::bad_database("State resolution failed, either an event could not be found or deserialization"));
}
};