summaryrefslogtreecommitdiff
path: root/task/release.rake
diff options
context:
space:
mode:
Diffstat (limited to 'task/release.rake')
-rw-r--r--task/release.rake2
1 files changed, 1 insertions, 1 deletions
diff --git a/task/release.rake b/task/release.rake
index 42c120fecd..f1786e8bc2 100644
--- a/task/release.rake
+++ b/task/release.rake
@@ -38,7 +38,7 @@ namespace :release do
if response.code.to_i >= 400
raise "#{uri}\n#{response.inspect}\n#{begin
JSON.parse(response.body)
- rescue
+ rescue JSON::ParseError
response.body
end}"
end