diff options
author | Daniel Friesel <derf@finalrewind.org> | 2019-03-16 21:49:47 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2019-03-16 21:49:47 +0100 |
commit | 629ca9e9f69be662ef877e1f0e5bf2e020e4a691 (patch) | |
tree | 3bb8b60d087d41a9f29810cb9501efaf6372e794 /index.pl | |
parent | 42bb5cc4938a093c0efa9857f11e2687a3871da0 (diff) |
Show backend errors on station selection page
Diffstat (limited to 'index.pl')
-rwxr-xr-x | index.pl | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -1458,7 +1458,11 @@ get '/s/*station' => sub { my $status = get_departures($station); if ( $status->{errstr} ) { - $self->render( 'landingpage', error => $status->{errstr} ); + $self->render( + 'landingpage', + with_geolocation => 1, + error => $status->{errstr} + ); } else { # You can't check into a train which terminates here |