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

Disable exception mails for regular HTTP 403s #643

Open
baszoetekouw opened this issue Nov 28, 2024 · 0 comments
Open

Disable exception mails for regular HTTP 403s #643

baszoetekouw opened this issue Nov 28, 2024 · 0 comments
Assignees

Comments

@baszoetekouw
Copy link
Member

Please don't send these:

org.springframework.web.client.HttpClientErrorException$Forbidden: 403 Forbidden: "{"timestamp":"2024-11-26T10:12:36.549+00:00","status":403,"error":"Forbidden","path":"/internal/connectWithoutInteraction","exception":"manage.exception.EndpointNotAllowed"}"
    at org.springframework.web.client.HttpClientErrorException.create(HttpClientErrorException.java:109)
    at org.springframework.web.client.DefaultResponseErrorHandler.handleError(DefaultResponseErrorHandler.java:168)
    at org.springframework.web.client.DefaultResponseErrorHandler.handleError(DefaultResponseErrorHandler.java:122)
    at org.springframework.web.client.ResponseErrorHandler.handleError(ResponseErrorHandler.java:63)
    at org.springframework.web.client.RestTemplate.handleResponse(RestTemplate.java:825)
    at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:783)
    at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:717)
    at org.springframework.web.client.RestTemplate.exchange(RestTemplate.java:608)
    at dashboard.manage.UrlResourceManage.connectWithoutInteraction(UrlResourceManage.java:269)
    at dashboard.service.impl.ActionsServiceImpl.connectWithoutInteraction(ActionsServiceImpl.java:197)
    at dashboard.control.UsersController.automaticallyCreateConnection(UsersController.java:187)
    at dashboard.control.UsersController.updateInviteRequest(UsersController.java:125)
    at dashboard.control.UsersController$$FastClassBySpringCGLIB$$362f9fb9.invoke(<generated>)
    at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) 
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

No branches or pull requests

2 participants