Skip to content

Comments

Fixed the job 404 exception error #666#710

Merged
yannickwurm merged 8 commits intowurmlab:masterfrom
gorsyan:master
Dec 21, 2023
Merged

Fixed the job 404 exception error #666#710
yannickwurm merged 8 commits intowurmlab:masterfrom
gorsyan:master

Conversation

@gorsyan
Copy link
Contributor

@gorsyan gorsyan commented Dec 7, 2023

In job.rb file return nil if the job doesn't exist.
In routes.rb file where the Job.fetch(id) method is called, handle the scenario when Job.fetch returns nil and add corresponding halt 404.

422 exception handling
@gorsyan gorsyan changed the title Master Work in progress for issue #666 Dec 7, 2023
Reverts to previous version of .gitignore
@ghost
Copy link

ghost commented Dec 7, 2023

👇 Click on the image for a new way to code review

Review these changes using an interactive CodeSee Map

Legend

CodeSee Map legend

@gorsyan gorsyan marked this pull request as ready for review December 21, 2023 17:30
@gorsyan gorsyan changed the title Work in progress for issue #666 Fixed the job 404 exception error #666 Dec 21, 2023
@yannickwurm yannickwurm merged commit 22aa5e9 into wurmlab:master Dec 21, 2023
@yannickwurm
Copy link
Member

Thank you @gorsyan

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants