Skip to content
This repository has been archived by the owner on Jan 31, 2019. It is now read-only.

Commit

Permalink
More verbose error from Weblate service
Browse files Browse the repository at this point in the history
  • Loading branch information
nijel committed Nov 13, 2012
1 parent 2b595ca commit 55748b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/weblate.rb
Expand Up @@ -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']}"
Expand Down

0 comments on commit 55748b4

Please sign in to comment.