You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by GitBox <gi...@apache.org> on 2021/01/25 12:45:50 UTC

[GitHub] [ambari] dvitiiuk commented on pull request #3280: AMBARI-25612. Ambari stops alert notices dispatching on unhandled exception inside.

dvitiiuk commented on pull request #3280:
URL: https://github.com/apache/ambari/pull/3280#issuecomment-766791419


   > how about adding more granular try-catch sections?
   > Looks like we already have `try-catch(exception)` sections inside. These sections be just extended instead of adding yet another try-catch on top of them?
   
   I divided "runOneIteration" method to couple separated + wrapped with new try-catch only code which retrieves notices.


----------------------------------------------------------------
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.

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