Skip to content

Commit fc62f49

Browse files
fix(context-engine): use debug format for error logging in sync (tailcallhq#2538)
1 parent 70cba43 commit fc62f49

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎crates/forge_services/src/context_engine.rs‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ impl<F: 'static + ProviderRepository + WorkspaceIndexRepository> ForgeWorkspaceS
315315
emit(counter.sync_progress()).await;
316316
}
317317
Err(e) => {
318-
warn!(workspace_id = %workspace_id, error = %e,"Failed to delete files during sync");
318+
warn!(workspace_id = %workspace_id, error = ?e,"Failed to delete files during sync");
319319
failed_files += files_to_delete.len();
320320
}
321321
}
@@ -332,7 +332,7 @@ impl<F: 'static + ProviderRepository + WorkspaceIndexRepository> ForgeWorkspaceS
332332
emit(counter.sync_progress()).await;
333333
}
334334
Err(e) => {
335-
warn!(workspace_id = %workspace_id, error = %e, "Failed to upload file during sync");
335+
warn!(workspace_id = %workspace_id, error = ?e, "Failed to upload file during sync");
336336
failed_files += 1;
337337
// Continue processing remaining uploads
338338
}

0 commit comments

Comments
 (0)