summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2016-03-08 19:47:45 +0100
committerDaniel Friesel <derf@finalrewind.org>2016-03-08 19:47:45 +0100
commit5fab5f4516b7c01c7e6b920f9d9f6280275e929d (patch)
tree30bdd1b32d458d1e0301ad5ee8783daa1c84eba6
parent2642fae2472be0cacbe926a394b690b2856b9a7b (diff)
fix errstr on infoscreen
-rw-r--r--index.pl1
-rw-r--r--templates/infoscreen.html.ep2
2 files changed, 2 insertions, 1 deletions
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 @@
</head>
<body>
-% if (my $error = stash 'error') {
+% if (my $error = stash 'errstr') {
<div class="error">Received an error from the backend service:</div>
<div>
<pre>