chars: query overflow error as debug message
[sheet.git] / chars.plp
index 6605ec8c6d051e492ffdae311600b3dc2727e6f6..bea56cfe3973afd29e3202819bc1408bcc8874b5 100644 (file)
--- a/chars.plp
+++ b/chars.plp
@@ -89,8 +89,8 @@ for (map { split /[^\d-]/ } $query) {
 @chars or Abort("No match for query $query", '404 no results');
 
 @chars <= 1500 or Abort(
-       sprintf('Too many matches (%d) for query %s', scalar @chars, $query),
-       '403 not allowed',
+       sprintf('Too many matches (%d) for query', scalar @chars),
+       '403 not allowed', $query
 );
 
 # output character list