Skip to content

Commit

Permalink
refactor: change panic log level
Browse files Browse the repository at this point in the history
  • Loading branch information
lonng committed Jan 16, 2017
1 parent b4db1a0 commit e36e7fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ func (hs *handlerService) processPacket(a *agent, p *packet.Packet) {
func (hs *handlerService) processMessage(session *session.Session, msg *message.Message) {
defer func() {
if err := recover(); err != nil {
log.Errorf("processMessage Error: %+v", err)
log.Tracef("processMessage Error: %+v", err)
}
}()

Expand Down

0 comments on commit e36e7fb

Please sign in to comment.