Browse Source

Handle error better.

Bruce Marriner 8 years ago
parent
commit
7811077148
1 changed files with 1 additions and 1 deletions
  1. 1 1
      event.go

+ 1 - 1
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)
 	}
 }