Revision 8da71e6d
Von Jan Büren vor fast 9 Jahren hinzugefügt
SL/BackgroundJob/SelfTest.pm | ||
---|---|---|
13 | 13 |
use SL::DB::AuthUser; |
14 | 14 |
use SL::DB::Default; |
15 | 15 |
use SL::Common; |
16 |
use SL::Locale::String qw(t8); |
|
17 |
use Carp; |
|
16 | 18 |
|
17 | 19 |
use Rose::Object::MakeMethods::Generic ( |
18 | 20 |
array => [ |
... | ... | |
66 | 68 |
$self->_send_email; |
67 | 69 |
} |
68 | 70 |
|
71 |
croak t8("Unsuccessfully executed:" . join ("\n", $self->errors)) if $self->errors; |
|
69 | 72 |
return 1; |
70 | 73 |
} |
71 | 74 |
|
... | ... | |
156 | 159 |
database => $::auth->client->{dbname}, |
157 | 160 |
client => $::auth->client->{name}, |
158 | 161 |
path => $FindBin::Bin, |
162 |
errors => $self->errors, |
|
159 | 163 |
); |
160 | 164 |
|
161 | 165 |
my $output; |
Auch abrufbar als: Unified diff
SelfTest - bessere Fehlerbehandlung für Einbinden der Test-Module
Fehlermeldung an den TaskServer zurückgeben.
Fehlermeldung(en) in der Status-E-Mail hinzufügen.