From 28b530c8ce27f3316ca1cca6c62429bb1190f2a5 Mon Sep 17 00:00:00 2001 From: Birte Kristina Friesel Date: Mon, 29 Dec 2025 10:26:41 +0100 Subject: helpers: a tad more debug output --- lib/Travelynx/Helper/DBRIS.pm | 4 ++++ lib/Travelynx/Helper/EFA.pm | 4 ++++ lib/Travelynx/Helper/IRIS.pm | 4 ++++ 3 files changed, 12 insertions(+) (limited to 'lib') diff --git a/lib/Travelynx/Helper/DBRIS.pm b/lib/Travelynx/Helper/DBRIS.pm index edf8812..8fb1058 100644 --- a/lib/Travelynx/Helper/DBRIS.pm +++ b/lib/Travelynx/Helper/DBRIS.pm @@ -132,6 +132,10 @@ sub get_connections_p { my $promise = Mojo::Promise->new; my $destinations = $opt{destinations}; + $self->{log}->debug( +"get_connections_p(station => $opt{station}, timestamp => $opt{timestamp})" + ); + $self->get_departures_p( station => '@L=' . $opt{station}, timestamp => $opt{timestamp}, diff --git a/lib/Travelynx/Helper/EFA.pm b/lib/Travelynx/Helper/EFA.pm index 70894df..af4903d 100644 --- a/lib/Travelynx/Helper/EFA.pm +++ b/lib/Travelynx/Helper/EFA.pm @@ -98,6 +98,10 @@ sub get_connections_p { my $promise = Mojo::Promise->new; my $destinations = $opt{destinations}; + $self->{log}->debug( +"get_connections_p(service => $opt{service}, station => $opt{name}, timestamp => $opt{timestamp})" + ); + $self->get_departures_p( service => $opt{service}, name => $opt{name}, diff --git a/lib/Travelynx/Helper/IRIS.pm b/lib/Travelynx/Helper/IRIS.pm index 9a5aa87..5ed0654 100644 --- a/lib/Travelynx/Helper/IRIS.pm +++ b/lib/Travelynx/Helper/IRIS.pm @@ -206,6 +206,10 @@ sub get_connections_p { my $promise = Mojo::Promise->new; my $destinations = $opt{destinations}; + $self->{log}->debug( +"get_connections_p(station => $opt{station}, timestamp => $opt{timestamp})" + ); + $self->get_departures_p( station => $opt{station}, timestamp => $opt{timestamp}, -- cgit v1.2.3