From c96b1810036bd6f3057d5d1b35b3e038cc437f81 Mon Sep 17 00:00:00 2001 From: Peter Schafhalter Date: Wed, 25 Nov 2020 15:09:45 -0800 Subject: [PATCH] Fix missing variable in format string --- src/node/node.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/node/node.rs b/src/node/node.rs index 68faa2a7..6f6973bb 100644 --- a/src/node/node.rs +++ b/src/node/node.rs @@ -291,7 +291,7 @@ impl Node { let graph_ref = self .dataflow_graph .as_ref() - .unwrap_or_else(|| panic!("Node {}: dataflow graph must be set.")); + .unwrap_or_else(|| panic!("Node {}: dataflow graph must be set.", self.id)); let graph = scheduler::schedule(graph_ref); if let Some(filename) = &self.config.graph_filename { graph.to_dot(filename.as_str()).map_err(|e| e.to_string())?;