From 5fab5f4516b7c01c7e6b920f9d9f6280275e929d Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Tue, 8 Mar 2016 19:47:45 +0100 Subject: fix errstr on infoscreen --- index.pl | 1 + templates/infoscreen.html.ep | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/index.pl b/index.pl index 89aa265..232a81c 100644 --- a/index.pl +++ b/index.pl @@ -439,6 +439,7 @@ sub render_html { id_name => decode( 'UTF-8', $data->{id_name} ), id_stop => decode( 'UTF-8', $data->{id_stop} ), raw => $data->{filtered_results}, + errstr => $data->{errstr}, scale => $self->param('scale') || '4.3', version => $VERSION, ); diff --git a/templates/infoscreen.html.ep b/templates/infoscreen.html.ep index 7f583c8..7cdd870 100644 --- a/templates/infoscreen.html.ep +++ b/templates/infoscreen.html.ep @@ -17,7 +17,7 @@ -% if (my $error = stash 'error') { +% if (my $error = stash 'errstr') {
Received an error from the backend service:
-- 
cgit v1.2.3