[libmagpie-perl] 03/30: fix Input/JSON error message

Jonas Smedegaard dr at jones.dk
Wed Dec 6 00:56:38 UTC 2017


This is an automated email from the git hooks/post-receive script.

js pushed a commit to annotated tag debian/1.163200-1
in repository libmagpie-perl.

commit a06d70bb0a184982320412f87d068e0ae213c27e
Author: Chris Prather <chris at prather.org>
Date:   Fri Feb 21 20:48:08 2014 -0500

    fix Input/JSON error message
---
 lib/Magpie/Transformer/Input/JSON.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/Magpie/Transformer/Input/JSON.pm b/lib/Magpie/Transformer/Input/JSON.pm
index fd909ed..e98e1b7 100644
--- a/lib/Magpie/Transformer/Input/JSON.pm
+++ b/lib/Magpie/Transformer/Input/JSON.pm
@@ -16,7 +16,7 @@ sub transform {
         return OK;
     }
     catch {
-        $self->set_error({status_code => 400, reason $_ });
+        $self->set_error({status_code => 400, reason => $_ });
         return DECLINED
     };
 }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libmagpie-perl.git



More information about the Pkg-perl-cvs-commits mailing list