feat: handle job run error and change life-cycle status

This commit is contained in:
2024-12-18 10:08:30 +03:30
parent 03fe9910a3
commit 5e3f093f08
6 changed files with 15 additions and 5 deletions

View File

@@ -54,6 +54,7 @@ var (
ErrNoJarId = errors.New("[managed-job] no jar id")
ErrNoSavepointTriggerId = errors.New("[managed-job] no savepoint trigger id")
ErrNoSavepointPath = errors.New("[managed-job] no savepoint path")
ErrOnStartingJob = errors.New("[managed-job] error on starting job")
)
type JobStatus string