summaryrefslogtreecommitdiff
path: root/gui.go
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2023-05-13 17:44:42 +0200
committerxengineering <me@xengineering.eu>2023-05-14 12:10:42 +0200
commit4c920880da47f771ad695e980f5bae807c1ac4e9 (patch)
treec835b1df2c1e1b4f9a900922bb6a301c0a39ee53 /gui.go
parent35540f642a7ba21af0e3b58a36f0aefd353473c4 (diff)
downloadlimox-4c920880da47f771ad695e980f5bae807c1ac4e9.tar
limox-4c920880da47f771ad695e980f5bae807c1ac4e9.tar.zst
limox-4c920880da47f771ad695e980f5bae807c1ac4e9.zip
Rework error management
Error handling was not consistent and quite bad to be honest ...
Diffstat (limited to 'gui.go')
-rw-r--r--gui.go2
1 files changed, 1 insertions, 1 deletions
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
}