We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fca700a commit 88b6ee4Copy full SHA for 88b6ee4
src/execution/source_indexer.rs
@@ -87,7 +87,7 @@ impl SourceIndexingContext {
87
processing_sem: Arc<Semaphore>,
88
pool: PgPool,
89
) {
90
- let process = async move {
+ let process = async {
91
let permit = processing_sem.acquire().await?;
92
let plan = self.flow.get_execution_plan().await?;
93
let import_op = &plan.import_ops[self.source_idx];
@@ -157,6 +157,7 @@ impl SourceIndexingContext {
157
anyhow::Ok(())
158
};
159
if let Err(e) = process.await {
160
+ update_stats.num_errors.inc(1);
161
error!("{:?}", e.context("Error in processing a source row"));
162
}
163
0 commit comments