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

Fixes #114 #124

Merged
merged 1 commit into from
Apr 27, 2018
Merged

Fixes #114 #124

merged 1 commit into from
Apr 27, 2018

Conversation

awest1339
Copy link
Contributor

No description provided.

@awest1339 awest1339 requested a review from ptcNOP April 25, 2018 21:21
# of MultiScannerTask
if not storage_ids:
raise ValueError('Report failed to index')

# Update the task DB to reflect that the task is done
db.update_task(
Copy link
Contributor

Choose a reason for hiding this comment

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

Not exactly related to this PR, but while we're on the subject...should we be doing any checks to see if db.update_task was successful?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

That's a good point. I added an issue for this (#129), since I think it will need a little more of a reworking of the sql_driver.py. I think this sort of error handling should be handled by the ORM layer, with an exception or w/e raised to the caller. Thoughts?

@awest1339 awest1339 merged commit a1bd200 into dev Apr 27, 2018
@awest1339 awest1339 deleted the fix/worker_fixes branch April 27, 2018 17:02
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