summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xwhine.pl6
1 files changed, 3 insertions, 3 deletions
diff --git a/whine.pl b/whine.pl
index 5e023d221..ad6067228 100755
--- a/whine.pl
+++ b/whine.pl
@@ -455,9 +455,9 @@ sub run_queries {
# If a query fails for whatever reason, it shouldn't kill the script.
my $sqlquery = eval { $search->sql };
if ($@) {
- say get_text('whine_query_failed', { query_name => $thisquery->{'name'},
- author => $args->{'author'},
- reason => $@ });
+ print STDERR get_text('whine_query_failed', { query_name => $thisquery->{'name'},
+ author => $args->{'author'},
+ reason => $@ }) . "\n";
next;
}