mirror of
https://gitlab.com/fabinfra/fabaccess/bffh.git
synced 2024-11-10 17:43:23 +01:00
format an error
This commit is contained in:
parent
d68950c64c
commit
38eb26b684
@ -109,7 +109,7 @@ impl write::Server for Write {
|
||||
Ok(_tok) => {
|
||||
return Ok(());
|
||||
},
|
||||
Err(_) => Err(capnp::Error::failed("State change request returned an err".to_string())),
|
||||
Err(e) => Err(capnp::Error::failed(format!("State change request returned {}", e))),
|
||||
});
|
||||
|
||||
Promise::from_future(f)
|
||||
|
Loading…
Reference in New Issue
Block a user