projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
85f23f9
)
Task-Server: Exceptions als Warnung loggen, nicht als Debugmeldung
author
Moritz Bunkus
<m.bunkus@linet-services.de>
Mon, 29 Jul 2019 13:34:59 +0000
(15:34 +0200)
committer
Moritz Bunkus
<m.bunkus@linet-services.de>
Mon, 29 Jul 2019 13:34:59 +0000
(15:34 +0200)
scripts/task_server.pl
patch
|
blob
|
history
diff --git
a/scripts/task_server.pl
b/scripts/task_server.pl
index
299be69
..
c9494c8
100755
(executable)
--- 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);
}