You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@eventmesh.apache.org by GitBox <gi...@apache.org> on 2022/11/23 02:24:49 UTC

[GitHub] [incubator-eventmesh] Alonexc opened a new issue, #2246: [Enhancement] Method throws alternative exception from catch block without history [AdminWebHookConfigOperationManage]

Alonexc opened a new issue, #2246:
URL: https://github.com/apache/incubator-eventmesh/issues/2246

   ### Search before asking
   
   - [X] I had searched in the [issues](https://github.com/apache/eventmesh/issues?q=is%3Aissue) and found no similar issues.
   
   
   ### Enhancement Request
   
   ![image](https://user-images.githubusercontent.com/91315508/203457460-f5503237-162a-4983-96a8-2c872c19b96a.png)
   located at:
   org/apache/eventmesh/webhook/admin/AdminWebHookConfigOperationManage.java line 77
   analysis and explanation:
   This method catches an exception, and throws a different exception, without incorporating the original exception. Doing so hides the original source of the exception, making debugging and fixing these problems difficult. It is better to use the constructor of this new exception that takes an original exception so that this detail can be passed along to the user. If this exception has no constructor that takes an initial cause parameter, use the initCause method to initialize it instead.
   
   
   ### Describe the solution you'd like
   
   reference:
   ![image](https://user-images.githubusercontent.com/91315508/203457522-c5944a51-c942-418a-8364-8174e64f361a.png)
   
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@eventmesh.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@eventmesh.apache.org
For additional commands, e-mail: dev-help@eventmesh.apache.org


[GitHub] [incubator-eventmesh] weihubeats commented on issue #2246: [Enhancement] Method throws alternative exception from catch block without history [AdminWebHookConfigOperationManage]

Posted by GitBox <gi...@apache.org>.
weihubeats commented on issue #2246:
URL: https://github.com/apache/incubator-eventmesh/issues/2246#issuecomment-1328485093

   Sorry, misread, I now mention a pr


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@eventmesh.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@eventmesh.apache.org
For additional commands, e-mail: dev-help@eventmesh.apache.org


[GitHub] [incubator-eventmesh] weihubeats commented on issue #2246: [Enhancement] Method throws alternative exception from catch block without history [AdminWebHookConfigOperationManage]

Posted by GitBox <gi...@apache.org>.
weihubeats commented on issue #2246:
URL: https://github.com/apache/incubator-eventmesh/issues/2246#issuecomment-1328230358

   This task has been completed, so it can be closed


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@eventmesh.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@eventmesh.apache.org
For additional commands, e-mail: dev-help@eventmesh.apache.org


[GitHub] [incubator-eventmesh] xwm1992 commented on issue #2246: [Enhancement] Method throws alternative exception from catch block without history [AdminWebHookConfigOperationManage]

Posted by GitBox <gi...@apache.org>.
xwm1992 commented on issue #2246:
URL: https://github.com/apache/incubator-eventmesh/issues/2246#issuecomment-1328459609

   @weihubeats please help to figure out which pr associate this issue


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@eventmesh.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@eventmesh.apache.org
For additional commands, e-mail: dev-help@eventmesh.apache.org


[GitHub] [incubator-eventmesh] jonyangx closed issue #2246: [Enhancement] Method throws alternative exception from catch block without history [AdminWebHookConfigOperationManage]

Posted by GitBox <gi...@apache.org>.
jonyangx closed issue #2246: [Enhancement] Method throws alternative exception from catch block without history [AdminWebHookConfigOperationManage]
URL: https://github.com/apache/incubator-eventmesh/issues/2246


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@eventmesh.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@eventmesh.apache.org
For additional commands, e-mail: dev-help@eventmesh.apache.org