From f6b60e643fc615e9e0423d48216ba68c16370f75 Mon Sep 17 00:00:00 2001 From: Vincenzo Palazzo Date: Thu, 29 Feb 2024 14:30:30 +0100 Subject: [PATCH] fix(plugin): return from Start not just break the loop Signed-off-by: Vincenzo Palazzo --- plugin/plugin.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/plugin.go b/plugin/plugin.go index 6a7ab4e..7a3583d 100644 --- a/plugin/plugin.go +++ b/plugin/plugin.go @@ -199,7 +199,7 @@ func (self *Plugin[T]) Start() { if err != nil { if err == io.EOF { - break + return } panic(err) }