We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 334d3de commit 0e77f59Copy full SHA for 0e77f59
1 file changed
crates/roc_host/src/lib.rs
@@ -677,6 +677,10 @@ async fn async_send_request(request: hyper::Request<http_body_util::Full<Bytes>>
677
}
678
679
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
+
684
roc_http::ResponseToAndFromHost {
685
status: 500,
686
headers: RocList::empty(),
0 commit comments