Fehlermeldung an den TaskServer zurückgeben.
Fehlermeldung(en) in der Status-E-Mail hinzufügen.
use SL::DB::AuthUser;
use SL::DB::Default;
use SL::Common;
+use SL::Locale::String qw(t8);
+use Carp;
use Rose::Object::MakeMethods::Generic (
array => [
$self->_send_email;
}
+ croak t8("Unsuccessfully executed:" . join ("\n", $self->errors)) if $self->errors;
return 1;
}
database => $::auth->client->{dbname},
client => $::auth->client->{name},
path => $FindBin::Bin,
+ errors => $self->errors,
);
my $output;
kivitendo selftest report.
+[% IF errors %]
+ General error(s) have occured.
+ [% errors %]
+[% END %]
+
Host: [% host %]
Path: [% path %]
DB: [% database %]