summaryrefslogtreecommitdiff
path: root/lib/Travelynx/Helper
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2020-10-01 19:52:11 +0200
committerDaniel Friesel <derf@finalrewind.org>2020-10-01 19:52:11 +0200
commit8d53f7f5c8c883bd985fa4b7b02e8a6238cf2708 (patch)
tree631b152b369e9263f4e23d0b3f65848ce6b70464 /lib/Travelynx/Helper
parent64c9b5b160d392793b004a618635bd20d1653b2d (diff)
log error when trip_id is missing
Diffstat (limited to 'lib/Travelynx/Helper')
-rw-r--r--lib/Travelynx/Helper/Traewelling.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Travelynx/Helper/Traewelling.pm b/lib/Travelynx/Helper/Traewelling.pm
index d2ffadc..36af239 100644
--- a/lib/Travelynx/Helper/Traewelling.pm
+++ b/lib/Travelynx/Helper/Traewelling.pm
@@ -285,6 +285,7 @@ sub checkin {
$opt{dep_eva}
);
+ # Work around https://github.com/Traewelling/traewelling/issues/72
$self->{user_agent}->request_timeout(20)
->get_p(
"https://traewelling.de/api/v0/trains/trip?$trip_req" => $header )