Handle error better.
This commit is contained in:
parent
97d4489481
commit
7811077148
1 changed files with 1 additions and 1 deletions
2
event.go
2
event.go
|
@ -219,7 +219,7 @@ func (s *Session) onInterface(i interface{}) {
|
|||
}
|
||||
err := s.State.onInterface(s, i)
|
||||
if err != nil {
|
||||
s.log(LogError, err)
|
||||
s.log(LogError, "error dispatching internal event, %s", err)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue