Improve logging, error handling for ID queries, and ensure inclusive range boundaries in event management.

This commit is contained in:
2025-09-10 19:04:54 +01:00
parent 9e59d5f72b
commit b063dab2a3
6 changed files with 71 additions and 14 deletions

View File

@@ -15,13 +15,7 @@ import (
)
func (l *Listener) HandleMessage(msg []byte, remote string) {
log.D.C(
func() string {
return fmt.Sprintf(
"%s received message:\n%s", remote, msg,
)
},
)
log.D.F("%s received message:\n%s", remote, msg)
var err error
var t string
var rem []byte