diff options
Diffstat (limited to 'src/rpc_server.rs')
-rw-r--r-- | src/rpc_server.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rpc_server.rs b/src/rpc_server.rs index 83f8ddc9..7a6a57ee 100644 --- a/src/rpc_server.rs +++ b/src/rpc_server.rs @@ -106,7 +106,8 @@ impl RpcServer { let resp_waiter = tokio::spawn(handler(req, addr)); match resp_waiter.await { - Err(_err) => { + Err(err) => { + eprintln!("Handler await error: {}", err); let mut ise = Response::default(); *ise.status_mut() = StatusCode::INTERNAL_SERVER_ERROR; Ok(ise) |