summaryrefslogtreecommitdiffstats
path: root/chart.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'chart.cgi')
-rwxr-xr-xchart.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/chart.cgi b/chart.cgi
index 0b46347b5..dcd83cb01 100755
--- a/chart.cgi
+++ b/chart.cgi
@@ -227,7 +227,7 @@ elsif ($action eq "convert_search") {
print $cgi->redirect(-location => correct_urlbase() . "query.cgi?format=create-series$url");
}
else {
- ThrowCodeError("unknown_action");
+ ThrowUserError('unknown_action', {action => $action});
}
exit;