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

[Need Explanation] Confusion on CustomExceptionMiddleware ? #35

Open
aloksharma1 opened this issue Mar 27, 2021 · 2 comments
Open

[Need Explanation] Confusion on CustomExceptionMiddleware ? #35

aloksharma1 opened this issue Mar 27, 2021 · 2 comments
Labels
bug Something isn't working

Comments

@aloksharma1
Copy link

Hello,
in your template you have defined CustomExceptionMiddleware class in both service & infrastructure layer, now i am unable to understand where should i put my other middlewares and why do we need it in both places? or is it infra calling service layer?

please help

@Amitpnk Amitpnk added the bug Something isn't working label Mar 27, 2021
@Amitpnk
Copy link
Owner

Amitpnk commented Mar 28, 2021

hi @aloksharma1 ,

Thank you for noticing to me, we need to add CustomExceptionMiddleware class in service layer. It was duplicate in infra layer. Will fix and refactor it

Regards,
Amit Naik

@Folivi95
Copy link

@Amitpnk thanks for the clarification.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants