summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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>