File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,9 @@ impl AnalyzedFlow {
20
20
flow_instance_ctx : Arc < FlowInstanceContext > ,
21
21
) -> Result < Self > {
22
22
let ( data_schema, setup_state, execution_plan_fut) =
23
- analyzer:: analyze_flow ( & flow_instance, flow_instance_ctx. clone ( ) ) . await ?;
23
+ analyzer:: analyze_flow ( & flow_instance, flow_instance_ctx. clone ( ) )
24
+ . await
25
+ . with_context ( || format ! ( "analyzing flow `{}`" , flow_instance. name) ) ?;
24
26
let execution_plan = async move {
25
27
shared_ok ( Arc :: new (
26
28
execution_plan_fut. await . map_err ( SharedError :: new) ?,
Original file line number Diff line number Diff line change @@ -382,7 +382,8 @@ impl SourceIndexingContext {
382
382
error ! (
383
383
"{:?}" ,
384
384
e. context( format!(
385
- "Error in processing row from source `{source}` with key: {key}" ,
385
+ "Error in processing row from flow `{flow}` source `{source}` with key: {key}" ,
386
+ flow = self . flow. flow_instance. name,
386
387
source = self . flow. flow_instance. import_ops[ self . source_idx] . name,
387
388
key = row_input. key,
388
389
) )
You can’t perform that action at this time.
0 commit comments