From 4c920880da47f771ad695e980f5bae807c1ac4e9 Mon Sep 17 00:00:00 2001 From: xengineering Date: Sat, 13 May 2023 17:44:42 +0200 Subject: Rework error management Error handling was not consistent and quite bad to be honest ... --- gui.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gui.go') diff --git a/gui.go b/gui.go index 8e1f30d..e6e4c31 100644 --- a/gui.go +++ b/gui.go @@ -70,7 +70,7 @@ func (l *Limox) buttonLabel() string { case Connected: label = "Disconnect" default: - log.Fatalf("Unknown Limox state '%d'\n", l.State) + log.Printf("Unknown Limox state '%d'\n", l.State) } return label } -- cgit v1.2.3-70-g09d2