summaryrefslogtreecommitdiff
path: root/limox.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 /limox.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 'limox.go')
-rw-r--r--limox.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/limox.go b/limox.go
index 98652cb..89a5916 100644
--- a/limox.go
+++ b/limox.go
@@ -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()
}