nit clarify error

This commit is contained in:
Ruben Fiszel
2024-02-08 16:05:39 +01:00
parent d59d324d72
commit de858f3cc6

View File

@@ -2402,7 +2402,7 @@ async fn compute_next_flow_transform(
};
let itered = serde_json::from_str::<Vec<serde_json::Value>>(itered_raw.get())
.map_err(|not_array| {
Error::ExecutionErr(format!("Expected an array value, found: {not_array}"))
Error::ExecutionErr(format!("Expected an array value in the iterator expression, found: {not_array}"))
})?;
if itered.is_empty() {