From: Michael Tremer Date: Fri, 10 Jul 2026 12:00:51 +0000 (+0000) Subject: graph: Actually fail if we cannot render the graph X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2308904defbe0aae2d4e1ec387f26d9d3367bade;p=telemetry.git graph: Actually fail if we cannot render the graph Signed-off-by: Michael Tremer --- diff --git a/src/daemon/graph.c b/src/daemon/graph.c index 788a41f..695f358 100644 --- a/src/daemon/graph.c +++ b/src/daemon/graph.c @@ -413,7 +413,7 @@ int td_graph_render(td_graph* self, const char* object, // Cannot render case 0: r = -ENODATA; - break; + goto ERROR; // Can render case 1: