Unverified Commit 28b530c8 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

helpers: a tad more debug output

parent b45e6291
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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},
+4 −0
Original line number Diff line number Diff line
@@ -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},
+4 −0
Original line number Diff line number Diff line
@@ -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},