]> wagnertech.de Git - kivitendo-erp.git/commitdiff
Task-Server: Exceptions als Warnung loggen, nicht als Debugmeldung
authorMoritz Bunkus <m.bunkus@linet-services.de>
Mon, 29 Jul 2019 13:34:59 +0000 (15:34 +0200)
committerMoritz Bunkus <m.bunkus@linet-services.de>
Mon, 29 Jul 2019 13:34:59 +0000 (15:34 +0200)
scripts/task_server.pl

index 299be69c6f29018ad523ac1b7558ce9949988a17..c9494c8e0d55fa1be71623453c630ef54f9122c8 100755 (executable)
@@ -263,7 +263,7 @@ sub run_single_job_for_all_clients {
 
     if (!$ok) {
       my $error = $EVAL_ERROR;
 
     if (!$ok) {
       my $error = $EVAL_ERROR;
-      debug("Exception during execution: ${error}");
+      $::lxdebug->message(LXDebug::WARN(), "Exception during execution: ${error}");
       notify_on_failure(exception => $error);
     }
 
       notify_on_failure(exception => $error);
     }
 
@@ -309,7 +309,7 @@ sub run_once_for_all_clients {
 
     if (!$ok) {
       my $error = $EVAL_ERROR;
 
     if (!$ok) {
       my $error = $EVAL_ERROR;
-      debug("Exception during execution: ${error}");
+      $::lxdebug->message(LXDebug::WARN(), "Exception during execution: ${error}");
       notify_on_failure(exception => $error);
     }
 
       notify_on_failure(exception => $error);
     }