From: Sven Schöling Date: Tue, 2 Sep 2014 13:25:35 +0000 (+0200) Subject: TaskServer: $::form->error und ::end_of_request() handhaben X-Git-Tag: release-3.2.0beta~324 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=0dc0e521ea541e810af80d4fd828dc6755d9fd01;p=kivitendo-erp.git TaskServer: $::form->error und ::end_of_request() handhaben --- diff --git a/scripts/task_server.pl b/scripts/task_server.pl index 9330cc2fa..b1baef42e 100755 --- a/scripts/task_server.pl +++ b/scripts/task_server.pl @@ -88,6 +88,8 @@ sub per_job_initialization { $::form->{login} = $lx_office_conf{task_server}->{login}; $::instance_conf->init; + + $::form->{__ERROR_HANDLER} = sub { die @_ }; } sub drop_privileges { @@ -223,6 +225,17 @@ sub gd_run { } } +sub end_of_request { + $main::lxdebug->show_backtrace(); + die <