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

feat: migration to task processing api #11

Merged
merged 1 commit into from
Aug 12, 2024
Merged

Conversation

kyteinsky
Copy link
Contributor

@kyteinsky kyteinsky commented Aug 8, 2024

nc.log(LogLvl.ERROR, str(exc))
if task:
nc.providers.task_processing.report_result(task["id"], error_message=str(exc))

Copy link
Member

Choose a reason for hiding this comment

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

Nice to extract this!

Copy link
Member

@marcelklehr marcelklehr left a comment

Choose a reason for hiding this comment

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

Looks very clean! 🎉

@kyteinsky kyteinsky force-pushed the enh/task-processing branch from f9b6053 to 0e504e2 Compare August 9, 2024 14:15
bigcat88 added a commit to cloud-py-api/nc_py_api that referenced this pull request Aug 11, 2024
All related PRs:
#284
nextcloud/app_api#359
nextcloud/translate2#11

---------

Signed-off-by: Anupam Kumar <[email protected]>
Signed-off-by: Alexander Piskun <[email protected]>
Co-authored-by: Alexander Piskun <[email protected]>
bigcat88 added a commit to nextcloud/app_api that referenced this pull request Aug 12, 2024
@bigcat88 bigcat88 merged commit 450998e into main Aug 12, 2024
2 checks passed
@bigcat88 bigcat88 deleted the enh/task-processing branch August 12, 2024 16:57
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.

3 participants