Skip to content

Commit

Permalink
add log
Browse files Browse the repository at this point in the history
  • Loading branch information
wshwsh12 committed Feb 1, 2023
1 parent b6b0267 commit 088a611
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions store/copr/mpp.go
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,7 @@ func (m *mppIterator) sendError(err error) {
func (m *mppIterator) sendToRespCh(resp *mppResponse) (exit bool) {
defer func() {
if r := recover(); r != nil {
logutil.BgLogger().Error("mppIterator panic", zap.Stack("stack"), zap.Any("recover", r))
m.sendError(errors.New(fmt.Sprint(r)))
}
}()
Expand Down

0 comments on commit 088a611

Please sign in to comment.