aboutsummaryrefslogtreecommitdiff
path: root/examples/tapi
diff options
context:
space:
mode:
Diffstat (limited to 'examples/tapi')
-rwxr-xr-xexamples/tapi2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/tapi b/examples/tapi
index 651b267..cb37c03 100755
--- a/examples/tapi
+++ b/examples/tapi
@@ -45,10 +45,10 @@ def api_call(path, params)
end
if result.code != '200'
STDERR.puts "#{result.code} #{result.message}"
+ STDERR.puts result.body
exit 1
end
-# puts result.body
puts JSON.pretty_generate(JSON.parse(result.body))
end