From a78870c49f212b5b0a9affa507352f508700d5d1 Mon Sep 17 00:00:00 2001 From: Oliver Gorwits Date: Fri, 11 Aug 2023 14:41:26 +0100 Subject: [PATCH] Revert "revert log from internal worker so other failed worker log appears" This reverts commit 6757bc2d94f05bb420f00e5f524455ea2f91e1b1. --- lib/App/Netdisco/Worker/Plugin/Internal/SNMPFastDiscover.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/App/Netdisco/Worker/Plugin/Internal/SNMPFastDiscover.pm b/lib/App/Netdisco/Worker/Plugin/Internal/SNMPFastDiscover.pm index b04a4e27..a44028b5 100644 --- a/lib/App/Netdisco/Worker/Plugin/Internal/SNMPFastDiscover.pm +++ b/lib/App/Netdisco/Worker/Plugin/Internal/SNMPFastDiscover.pm @@ -14,10 +14,10 @@ register_worker({ phase => 'check', driver => 'direct' }, sub { and (not blessed $job->device or not $job->device->in_storage)) { config->{'snmp_try_slow_connect'} = false; - debug "running with fast SNMP timeouts for initial discover"; + return Status->info("running with fast SNMP timeouts for initial discover"); } - debug "running with configured SNMP timeouts"; + return Status->info("running with configured SNMP timeouts"); }); true;