File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -35,19 +35,19 @@ pub fn value_to_http_response(value: Value) -> Response<Full<Bytes>> {
3535 let Some ( headers_val) = fields. get ( "headers" ) else {
3636 return error_to_http_response (
3737 StatusCode :: INTERNAL_SERVER_ERROR ,
38- "Flow result missing headers" ,
38+ "Flow result missing the field: headers" ,
3939 ) ;
4040 } ;
4141 let Some ( status_code_val) = fields. get ( "http_status_code" ) else {
4242 return error_to_http_response (
4343 StatusCode :: INTERNAL_SERVER_ERROR ,
44- "Flow result missing status_code " ,
44+ "Flow result missing the field: http_status_code " ,
4545 ) ;
4646 } ;
4747 let Some ( payload_val) = fields. get ( "payload" ) else {
4848 return error_to_http_response (
4949 StatusCode :: INTERNAL_SERVER_ERROR ,
50- "Flow result missing payload" ,
50+ "Flow result missing the field: payload" ,
5151 ) ;
5252 } ;
5353
You can’t perform that action at this time.
0 commit comments