From f67aa86c6f1a4fd8a72623e3134b93d938f00462 Mon Sep 17 00:00:00 2001 From: William Woodruff Date: Sun, 17 Nov 2024 23:20:55 -0500 Subject: [PATCH] feat: improve workflow registry error --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 6a9878bd..f861f417 100644 --- a/src/main.rs +++ b/src/main.rs @@ -128,7 +128,7 @@ fn run() -> Result { for workflow_path in workflow_paths.iter() { workflow_registry .register_workflow(workflow_path) - .with_context(|| "failed to register workflow")?; + .with_context(|| format!("failed to register workflow: {workflow_path:?}"))?; } let mut audit_registry = AuditRegistry::new();