diff options
author | xengineering <me@xengineering.eu> | 2023-05-13 17:44:42 +0200 |
---|---|---|
committer | xengineering <me@xengineering.eu> | 2023-05-14 12:10:42 +0200 |
commit | 4c920880da47f771ad695e980f5bae807c1ac4e9 (patch) | |
tree | c835b1df2c1e1b4f9a900922bb6a301c0a39ee53 /limox.go | |
parent | 35540f642a7ba21af0e3b58a36f0aefd353473c4 (diff) | |
download | limox-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 'limox.go')
-rw-r--r-- | limox.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -72,10 +72,10 @@ func (l *Limox) run() error { case XmppConnect: l.State = Connected default: - log.Fatalf("Unknown XmppEvent '%d'\n", ev) + log.Printf("Unknown XmppEvent '%d'\n", ev) } default: - log.Fatalf("Unknown event type '%s'.\n", reflect.TypeOf(ev)) + log.Printf("Unknown event type '%s'.\n", reflect.TypeOf(ev)) } l.Window.Invalidate() } |