ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [ambari] dvitiiuk commented on pull request #3280: AMBARI-25612. Ambari stops alert notices dispatching on unhandled exception inside.
Date Tue, 26 Jan 2021 04:11:29 GMT

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



Mime
View raw message