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:
5f55d79
)
Task-Server: nach Task-Ausführung Status & Jobname als Debuginfo ausgeben
author
Moritz Bunkus
<m.bunkus@linet-services.de>
Mon, 18 Dec 2017 12:16:37 +0000
(13:16 +0100)
committer
Moritz Bunkus
<m.bunkus@linet-services.de>
Mon, 18 Dec 2017 12:37:23 +0000
(13:37 +0100)
scripts/task_server.pl
patch
|
blob
|
history
diff --git
a/scripts/task_server.pl
b/scripts/task_server.pl
index
cfdd866
..
07cc53e
100755
(executable)
--- a/
scripts/task_server.pl
+++ b/
scripts/task_server.pl
@@
-246,6
+246,10
@@
sub run_once_for_all_clients {
my $history = $job->run;
+ debug(" Executed job " . $job->package_name .
+ "; result: " . (!$history ? "no return value" : $history->has_failed ? "failed" : "succeeded") .
+ ($history && $history->has_failed ? "; error: " . $history->error_col : ""));
+
notify_on_failure(history => $history) if $history && $history->has_failed;
}