Skip to content
This repository has been archived by the owner on Nov 8, 2022. It is now read-only.

Scheduler not started error returned incorrectly from createTask #1136

Closed
IRCody opened this issue Aug 11, 2016 · 0 comments
Closed

Scheduler not started error returned incorrectly from createTask #1136

IRCody opened this issue Aug 11, 2016 · 0 comments

Comments

@IRCody
Copy link
Contributor

IRCody commented Aug 11, 2016

In scheduler.createTask

    // Generate a workflow from the workflow map
    wf, err := wmapToWorkflow(wfMap)
    if err != nil {
        te.errs = append(te.errs, serror.New(err))
        f := buildErrorsLog(te.Errors(), logger)
        f.Error(ErrSchedulerNotStarted.Error())
        return nil, te
    }

ErrSchedulerNotStarted is returned incorrectly. I'm not sure exactly what the error should be but it should be related to parsing the wmap into a workflow since that is what is triggering the error.

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Projects
None yet
Development

No branches or pull requests

2 participants