Skip to content

Commit

Permalink
fix(error): missing panic error message (#71)
Browse files Browse the repository at this point in the history
  • Loading branch information
appleboy authored May 28, 2022
1 parent e1a9717 commit b3dd500
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion queue.go
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ func (q *Queue) work(task core.QueuedMessage) {
q.metric.DecBusyWorker()
e := recover()
if e != nil {
q.logger.Errorf("panic error: %v", err)
q.logger.Errorf("panic error: %v", e)
}
q.schedule()

Expand Down

0 comments on commit b3dd500

Please sign in to comment.