jupyter-naas / naas

Low-code Python library to safely use notebooks in production: schedule workflows, generate assets, trigger webhooks, send notifications, build pipelines, manage secrets (Cloud-only)
https://app.naas.ai/
GNU Affero General Public License v3.0
282 stars 25 forks source link

fix(jobs.list): Return 404 instead of 500 when no jobs are found for a Notebook (path) #114

Closed Dr0p42 closed 3 years ago

Dr0p42 commented 3 years ago

We were raising an error saying that we cannot list jobs for a file when in fact we could but we were just not finding any. Updated the logic to not get any errors but a log saying that we did not found the files in production.

This is the new output, let me know if you would like something else. image

sonarcloud[bot] commented 3 years ago

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

jravenel commented 3 years ago

Looks good! @Dr0p42