From: Matt S Trout Date: Fri, 1 Nov 2013 08:09:14 +0000 (+0000) Subject: better debugging for duff order_by X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=c5caf0450b02650d40c14641e4d5f8f9b42a91a4;p=dbsrgits%2FSQL-Abstract.git better debugging for duff order_by --- diff --git a/lib/SQL/Abstract/Converter.pm b/lib/SQL/Abstract/Converter.pm index c6480e0..5e6f0cb 100644 --- a/lib/SQL/Abstract/Converter.pm +++ b/lib/SQL/Abstract/Converter.pm @@ -592,7 +592,7 @@ sub _order_by_to_dq { $nulls = $arg->{$key}; die "invalid value for -nulls" unless $nulls =~ /^(?:first|last)$/i; } else { - die "invalid key in hash passed to _order_by_to_dq"; + die "invalid key ${key} in hash passed to _order_by_to_dq"; } }