Skip to content

Issue 17 #61

Merged
merged 5 commits into from
May 15, 2023
Merged

Issue 17 #61

merged 5 commits into from
May 15, 2023

Conversation

sskalex
Copy link
Contributor

@sskalex sskalex commented May 4, 2023

Reviving issue-17 PR
Issue #17

failedJob.JobId = JobBuilderHelpers.GenerateNewJobId();
failedJob.Status = JobStatus.Failed;
failedJob.Error = error.Message + ' ' + error.StackTrace;
failedJob.StartAt = DateTime.MinValue;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Чтобы никого не смутил неверный StartAt позднее StartedExecuting

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Можно в случае ошибки сперва достать текущий джоб и сделать его копию, тогда StartAt из него не потеряется

@ZOXEXIVO ZOXEXIVO merged commit c20e2fc into Tinkoff:master May 15, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants