Skip to content

Commit 831c54f

Browse files
authored
Print panic error not only stack (#669)
1 parent 68d60e7 commit 831c54f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

v1/tasks/task.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ func (t *Task) Call() (taskResults []*TaskResult, err error) {
127127
}
128128

129129
// Print stack trace
130-
log.ERROR.Printf("%s", debug.Stack())
130+
log.ERROR.Printf("%v stack: %s", err, debug.Stack())
131131
}
132132
}()
133133

0 commit comments

Comments
 (0)