szaszm commented on code in PR #1436:
URL: https://github.com/apache/nifi-minifi-cpp/pull/1436#discussion_r1011979349


##########
libminifi/src/core/ProcessGroup.cpp:
##########
@@ -153,8 +153,10 @@ void ProcessGroup::startProcessingProcessors(const 
std::shared_ptr<TimerDrivenSc
   for (const auto processor : failed_processors_) {
     try {
       processor->onUnSchedule();
+    } catch (const std::exception& ex) {
+      logger_->log_error("Exception occured during unscheduling processor: %s 
(%s), type: %s, what: %s", processor->getUUIDStr(), processor->getName(), 
typeid(ex).name(), ex.what());

Review Comment:
   Probably shouldn't occur, but I'd rather leave it in, to be safe. Who knows 
what can happen in processors, especially third-party ones.



-- 
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: issues-unsubscr...@nifi.apache.org

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

Reply via email to