confess command and result
authorDobrica Pavlinusic <dpavlin@rot13.org>
Thu, 3 Dec 2009 18:36:56 +0000 (18:36 +0000)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Thu, 3 Dec 2009 18:36:56 +0000 (18:36 +0000)
git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/Redis@64 447b33ff-793d-4489-8442-9bea7d161be5

lib/Redis.pm

index 7c8bf23..a46648c 100644 (file)
@@ -126,7 +126,7 @@ sub AUTOLOAD {
        }
 
        if ( $type eq '-' ) {
-               confess $result;
+               confess "[$command] $result";
        } elsif ( $type eq '+' ) {
                return $result;
        } elsif ( $type eq '$' ) {