minor changes

This commit is contained in:
Bryan Stitt 2022-05-29 14:42:23 +00:00
parent 035a1f531f
commit 03e3f6502b
2 changed files with 1 additions and 0 deletions

View File

@ -101,6 +101,7 @@ async fn _handle_anyhow_error(err: anyhow::Error, code: Option<StatusCode>) -> i
id: RawValue::from_string("0".to_string()).unwrap(),
result: None,
error: Some(JsonRpcErrorData {
// TODO: set this jsonrpc error code to match the http status code
code: -32099,
message: err,
data: None,