Skip to content
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.

Get logs API return 500 not 404 when log not exists #5125

Closed
Binyang2014 opened this issue Nov 25, 2020 · 1 comment · Fixed by #5177
Closed

Get logs API return 500 not 404 when log not exists #5125

Binyang2014 opened this issue Nov 25, 2020 · 1 comment · Fixed by #5177

Comments

@Binyang2014
Copy link
Contributor

If job is killed when waiting resource. Not log is generated. Currently, API will return 500. Need to return 404.

@Binyang2014
Copy link
Contributor Author

Test case:

  1. Start a job, make it in waiting status.
  2. All API to get the job logs. Make sure the API return 400 instead of 500. And UI shows correct

@debuggy debuggy mentioned this issue Jan 4, 2021
14 tasks
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants