Skip to content

Commit 0e77f59

Browse files
authored
forgotten-todo (#366)
1 parent 334d3de commit 0e77f59

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

crates/roc_host/src/lib.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -677,6 +677,10 @@ async fn async_send_request(request: hyper::Request<http_body_util::Full<Bytes>>
677677
}
678678
}
679679
Err(err) => {
680+
// TODO match on the error type to provide more specific responses with appropriate status codes
681+
/*use std::error::Error;
682+
let err_source_opt = err.source();*/
683+
680684
roc_http::ResponseToAndFromHost {
681685
status: 500,
682686
headers: RocList::empty(),

0 commit comments

Comments
 (0)