Skip to content

Commit 0ace927

Browse files
committed
chore: log HTTP RPC error values at debug level
1 parent 1578014 commit 0ace927

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

stackslib/src/net/httpcore.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1197,6 +1197,7 @@ impl StacksHttp {
11971197
let (response_preamble, response_contents) = match request_result {
11981198
Ok((rp, rc)) => (rp, rc),
11991199
Err(NetError::Http(e)) => {
1200+
debug!("RPC handler for {} failed: {:?}", decoded_path, &e);
12001201
return StacksHttpResponse::new_error(&request_preamble, &*e.into_http_error())
12011202
.try_into_contents()
12021203
}

0 commit comments

Comments
 (0)