From 3689d4d57c15cf514a96fcf7ad8effc660c11d8b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Cerveau?= Date: Mon, 11 Sep 2023 11:28:03 +0200 Subject: [PATCH] graphview: change log level for link name --- src/graphmanager/graphview.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/graphmanager/graphview.rs b/src/graphmanager/graphview.rs index 1dcc323..3092a1b 100644 --- a/src/graphmanager/graphview.rs +++ b/src/graphmanager/graphview.rs @@ -359,7 +359,7 @@ mod imp { let from_node = nodes .get(&node_from) - .unwrap_or_else(|| panic!("Unable to get node from {}", node_from)); + .unwrap_or_else(|| (panic!("Unable to get node from {}", node_from))); let from_port = from_node .port(port_from) @@ -452,7 +452,7 @@ mod imp { if let Err(e) = link_cr.stroke() { warn!("Failed to draw graphview links: {}", e); }; - warn!("the link name is {}", name); + trace!("the link name is {}", name); if !name.is_empty() { let x = (point_from.x() + point_to.x()) / 2.0 + 20.0; let y = (point_from.y() + point_to.y()) / 2.0 + 20.0;