diff --git a/user.go b/user.go index ba20b7b..da70475 100644 --- a/user.go +++ b/user.go @@ -583,7 +583,7 @@ func (u *user) run() { } return default: - u.logger.Printf("received unknown event type: %T", e) + panic(fmt.Sprintf("received unknown event type: %T", e)) } } }