Skip to content

Commit

Permalink
Merge pull request AlexStocks#14 from fangyincheng/dubbogo-master
Browse files Browse the repository at this point in the history
Add:add a log.Errorf for OnOpen
  • Loading branch information
wongoo authored Jul 9, 2019
2 parents c150ddf + a530b77 commit cd6ab9c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions session.go
Original file line number Diff line number Diff line change
Expand Up @@ -472,6 +472,7 @@ func (s *session) run() {
// call session opened
s.UpdateActive()
if err := s.listener.OnOpen(s); err != nil {
log.Errorf("[OnOpen] error: %#v", err)
s.Close()
return
}
Expand Down

0 comments on commit cd6ab9c

Please sign in to comment.