From 148723c37717f28f8d0cffbdd8580a9ceb749caf Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Mon, 29 Jul 2019 15:34:59 +0200 Subject: [PATCH] Task-Server: Exceptions als Warnung loggen, nicht als Debugmeldung --- scripts/task_server.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/task_server.pl b/scripts/task_server.pl index 299be69c6..c9494c8e0 100755 --- a/scripts/task_server.pl +++ b/scripts/task_server.pl @@ -263,7 +263,7 @@ sub run_single_job_for_all_clients { if (!$ok) { my $error = $EVAL_ERROR; - debug("Exception during execution: ${error}"); + $::lxdebug->message(LXDebug::WARN(), "Exception during execution: ${error}"); notify_on_failure(exception => $error); } @@ -309,7 +309,7 @@ sub run_once_for_all_clients { if (!$ok) { my $error = $EVAL_ERROR; - debug("Exception during execution: ${error}"); + $::lxdebug->message(LXDebug::WARN(), "Exception during execution: ${error}"); notify_on_failure(exception => $error); } -- 2.20.1