This commit is contained in:
Alex Dadgar
2016-10-18 11:23:27 -07:00
parent af517b3d37
commit cf85948b12

View File

@@ -2503,6 +2503,8 @@ func NewTaskEvent(event string) *TaskEvent {
}
}
// SetSetupError is used to store an error that occured while setting up the
// task
func (e *TaskEvent) SetSetupError(err error) *TaskEvent {
if err != nil {
e.SetupError = err.Error()