summaryrefslogtreecommitdiff
path: root/lib/TUWF.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/TUWF.pm')
-rw-r--r--lib/TUWF.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/TUWF.pm b/lib/TUWF.pm
index 612696b..651c3be 100644
--- a/lib/TUWF.pm
+++ b/lib/TUWF.pm
@@ -488,7 +488,7 @@ sub _handle_error {
join('', map sprintf(" %s: %s\n", $_, $self->reqHeader($_)), $self->reqHeader).
"POST dump:\n".
($self->reqJSON()
- ? JSON::XS->new->pretty->encode($self->reqJSON())
+ ? TUWF::Misc::_JSON()->new->pretty->encode($self->reqJSON())
: join('', map sprintf(" %s: %s\n", $_, join "\n ", $self->reqPosts($_)), $self->reqPosts)
).
"Error:\n $err\n"