Revision 719fd083
Von Jan Büren vor mehr als 3 Jahren hinzugefügt
SL/BackgroundJob/ConvertTimeRecordings.pm | ||
---|---|---|
77 | 77 |
})) { |
78 | 78 |
$::lxdebug->message(LXDebug->WARN(), |
79 | 79 |
"ConvertTimeRecordings: saving delivery order failed for time recording ids " . join ', ', map { $_->id } @{$time_recordings_by_customer_id{$customer_id}}); |
80 |
push @{ $self->{job_errors} }, "ConvertTimeRecordings: saving delivery order failed for time recording ids " . join ', ', map { $_->id } @{$time_recordings_by_customer_id{$customer_id}}; |
|
80 |
push @{ $self->{job_errors} }, "ConvertTimeRecordings: saving delivery order failed for time recording ids " . join ', ', map { $_->id } @{$time_recordings_by_customer_id{$customer_id}};
|
|
81 | 81 |
} else { |
82 | 82 |
push @donumbers, $do->donumber; |
83 | 83 |
} |
... | ... | |
94 | 94 |
if (@{ $self->{job_errors} }) { |
95 | 95 |
$msg .= ' ' . t8('The following errors occurred:'); |
96 | 96 |
$msg .= join "\n", @{ $self->{job_errors} }; |
97 |
return $msg;
|
|
97 |
die $msg;
|
|
98 | 98 |
} |
99 | 99 |
return $msg; |
100 | 100 |
} |
Auch abrufbar als: Unified diff
CTR: Wirklich mit "die", die Fehler werfen. Einrückung