summaryrefslogtreecommitdiff
path: root/lib/Travelynx/Command
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Travelynx/Command')
-rw-r--r--lib/Travelynx/Command/work.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Travelynx/Command/work.pm b/lib/Travelynx/Command/work.pm
index a43a5b9..6bbf0ff 100644
--- a/lib/Travelynx/Command/work.pm
+++ b/lib/Travelynx/Command/work.pm
@@ -273,13 +273,13 @@ sub run {
"Fehler bei $candidate->{train_type} $candidate->{train_no}: Keine trip_id vorhanden",
is_error => 1
);
- return;
+ next;
}
if ( $candidate->{data}{latest_push_ts}
and $candidate->{data}{latest_push_ts} == $candidate->{checkin_ts} )
{
$self->app->log->debug("... already handled");
- return;
+ next;
}
$self->app->traewelling_api->checkin( %{$candidate},
trip_id => $trip_id );