Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upload error in upload_to_canvas should probably stop processing #147

Open
jonespm opened this issue Apr 19, 2023 · 0 comments
Open

Upload error in upload_to_canvas should probably stop processing #147

jonespm opened this issue Apr 19, 2023 · 0 comments

Comments

@jonespm
Copy link
Member

jonespm commented Apr 19, 2023

We had a case where the script detected an error where workflow_state = failed. However when an error was printed the job continued on and the files were archived. The process was considered a success.

Upon investigation the workflow_state was imported which is pretty weird. Why did the script notice that it was filed?

I, [2023-04-19T13:11:38.432774 #27]  INFO -- : Canvas upload job id = 13873 processed 0 with workflow_state = failed
E, [2023-04-19T13:11:38.432810 #27] ERROR -- : upload error: Canvas upload job id = 13873 failed

The job probably should return an error here and have us investigate it manually rather than breaking and continuing the process.

$logger.error "upload error: #{upload_error}"

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

No branches or pull requests

1 participant