summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBirte Kristina Friesel <derf@finalrewind.org>2025-12-29 10:26:41 +0100
committerBirte Kristina Friesel <derf@finalrewind.org>2025-12-29 10:26:41 +0100
commit28b530c8ce27f3316ca1cca6c62429bb1190f2a5 (patch)
tree32b3ddca2dad7e914cabef187807dd336f63befa
parentb45e6291aa872345d475c126722e972912c70495 (diff)
helpers: a tad more debug output
-rw-r--r--lib/Travelynx/Helper/DBRIS.pm4
-rw-r--r--lib/Travelynx/Helper/EFA.pm4
-rw-r--r--lib/Travelynx/Helper/IRIS.pm4
3 files changed, 12 insertions, 0 deletions
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},