Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Return a user-facing message for every ProcessingException

Open
#443 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
56/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
php
Domain
backend

Research direction

The issue points to lib/TaskProcessing/EmojiProvider.php around line 123; start by reading how it handles a missing task result and throws ProcessingException. Then trace other ProcessingException cases and how the admin-configured service name is obtained. Done means these failures return a user-facing message, with appropriate generic or case-specific wording.

Written by the indexing model from the issue text.

Description

enhancement priority: normal
Describe the feature you'd like to request

Return a generic user facing error explaining the downstream service is down when no result is returned in the task, and for all other cases when ProcessingException is thrown.
There could be different kinds of translated messages: XYZ service is down, invalid inputs supplied, etc.

Describe the solution you'd like

Exceptions like this should have an extra user-facing message containing a generic failure message and the service name set by the admin:
https://github.com/nextcloud/integration_openai/blob/07fdfd4c694c87e2e195b674323a562927ae0476/lib/TaskProcessing/EmojiProvider.php#L123

Describe alternatives you've considered

/

Dominant language
PHP
Stars
76
Forks
36
Avg merge
2d 16h
Merged PRs (30d)
3

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from nextcloud/integration_openai

All issues in nextcloud/integration_openai

Similar issues

More PHP issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.