Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 719fd083

Von Jan Büren vor mehr als 3 Jahren hinzugefügt

  • ID 719fd0838e9631d7397d4b2ca4303dd85c4b26a3
  • Vorgänger 4b4f09f6
  • Nachfolger 264540e7

CTR: Wirklich mit "die", die Fehler werfen. Einrückung

Unterschiede anzeigen:

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