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

BC-7082 Add domain error handler #4904

Merged
merged 20 commits into from
Apr 22, 2024
Merged

BC-7082 Add domain error handler #4904

merged 20 commits into from
Apr 22, 2024

Conversation

CeEv
Copy link
Contributor

@CeEv CeEv commented Apr 9, 2024

Description

Links to Tickets or other pull requests

Changes

Datasecurity

Deployment

New Repos, NPM pakages or vendor scripts

Approval for review

  • DEV: If api was changed - generate-client:server was executed in vue frontend and changes were tested and put in a PR with the same branch name.
  • QA: In addition to review, the code has been manually tested (if manual testing is possible)
  • All points were discussed with the ticket creator, support-team or product owner. The code upholds all quality guidelines from the PR-template.

Notice: Please remove the WIP label if the PR is ready to review, otherwise nobody will review it.

@CeEv CeEv requested a review from SevenWaysDP April 15, 2024 11:57
import { ErrorLoggable } from '../loggable';

@Injectable()
export class DomainErrorHandler {
Copy link
Contributor

Choose a reason for hiding this comment

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

Ich frage mich, ob es nicht klarer wäre, einfach den ErrorLogger überall verfügbar zu machen. Im Moment würde es ja aufs gleiche hinaus laufen.

Du hattest noch einen möglichen Fall erwähnt, wo man einen Fehler nicht nur loggen will, sondern vielleicht auch noch eine Email verschicken will, so dass im ErrorHandler weitere Funktionalität hinzukommt. Aber das ist ja schon sehr hypothetisch. Außerdem wäre dann die Frage, ob man den Handler überhaupt noch im ErrorFilter wiederverwenden kann.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Lass uns später dazu sprechen.

Copy link

@CeEv CeEv merged commit 2566232 into main Apr 22, 2024
55 of 56 checks passed
@CeEv CeEv deleted the BC-7082-add-domain-error-handler branch April 22, 2024 14:58
bergatco pushed a commit that referenced this pull request May 6, 2024
To allow passing errors to our domain workflow a domain error handler is outsource from the error pipline.
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.

4 participants