- tasksch error show taks name
- distinguish platform error
This commit is contained in:
@@ -9,6 +9,7 @@ import (
|
||||
)
|
||||
|
||||
func TestTaskError(t *testing.T) {
|
||||
err := NewTaskError(errors.New("hello"))
|
||||
err := NewTaskError("test", errors.New("hello"))
|
||||
fmt.Println(utils.Format4Output(err, false))
|
||||
fmt.Println(err.Error())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user