From: Moritz Bunkus Date: Mon, 29 Jul 2019 13:34:59 +0000 (+0200) Subject: Task-Server: Exceptions als Warnung loggen, nicht als Debugmeldung X-Git-Tag: release-3.5.4~5 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=148723c37717f28f8d0cffbdd8580a9ceb749caf;p=kivitendo-erp.git Task-Server: Exceptions als Warnung loggen, nicht als Debugmeldung --- 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); }