Skip to content

Commit

Permalink
Remove unnecessary fmt.Errorf
Browse files Browse the repository at this point in the history
  • Loading branch information
sheb-gregor committed Nov 19, 2019
1 parent d88eb0f commit e3cd2fb
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion v2/chief.go
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,6 @@ func (c *chief) UseDefaultRecover() {
err = fmt.Errorf("%v", r)
}

err = fmt.Errorf("panic: %s\ntrace: %s", err, debug.Stack())
c.eventChan <- Event{
Level: LvlFatal,
Worker: name,
Expand Down

0 comments on commit e3cd2fb

Please sign in to comment.