This is an automated email from the ASF dual-hosted git repository.

lordgamez pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/nifi-minifi-cpp.git

commit e568e9448f13df386975e4974594a9a9113fc191
Author: Marton Szasz <[email protected]>
AuthorDate: Thu Nov 3 09:31:24 2022 +0100

    MINIFICPP-1963 fix linter issue
    
    Signed-off-by: Gabor Gyimesi <[email protected]>
    
    This closes #1446
---
 libminifi/src/SchedulingAgent.cpp | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/libminifi/src/SchedulingAgent.cpp 
b/libminifi/src/SchedulingAgent.cpp
index 4fbd8c9a4..5ad80fc9a 100644
--- a/libminifi/src/SchedulingAgent.cpp
+++ b/libminifi/src/SchedulingAgent.cpp
@@ -115,10 +115,12 @@ bool SchedulingAgent::onTrigger(core::Processor* 
processor, const std::shared_pt
   try {
     processor->onTrigger(processContext, sessionFactory);
   } catch (const std::exception& exception) {
-    logger_->log_warn("Caught Exception during SchedulingAgent::onTrigger of 
processor %s (uuid: %s), type: %s, what: %s", processor->getName(), 
processor->getUUIDStr(), typeid(exception).name(), exception.what());
+    logger_->log_warn("Caught Exception during SchedulingAgent::onTrigger of 
processor %s (uuid: %s), type: %s, what: %s",
+        processor->getName(), processor->getUUIDStr(), 
typeid(exception).name(), exception.what());
     processor->yield(admin_yield_duration_);
   } catch (...) {
-    logger_->log_warn("Caught Exception during SchedulingAgent::onTrigger of 
processor %s (uuid: %s), type: %s", processor->getName(), 
processor->getUUIDStr(), getCurrentExceptionTypeName());
+    logger_->log_warn("Caught Exception during SchedulingAgent::onTrigger of 
processor %s (uuid: %s), type: %s",
+        processor->getName(), processor->getUUIDStr(), 
getCurrentExceptionTypeName());
     processor->yield(admin_yield_duration_);
   }
   processor->decrementActiveTask();

Reply via email to