Permalink
Browse files

More verbose error from Weblate service

  • Loading branch information...
1 parent 2b595ca commit 55748b4067c4c02ddc9746d400e63ea867b51805 @nijel nijel committed Nov 13, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 services/weblate.rb
View
@@ -22,7 +22,7 @@ def receive_push
:payload => payload.to_json
if res.status < 200 || res.status > 299
- raise_config_error
+ raise_config_error "Failed with #{res.status}"
end
rescue URI::InvalidURIError
raise_config_error "Invalid URL: #{data['url']}"

0 comments on commit 55748b4

Please sign in to comment.