Skip to content

Commit

Permalink
Merge pull request #161 from alphagov/handle-panopticon-http-errors
Browse files Browse the repository at this point in the history
Handle non-specific HTTP errors in Panopticon
  • Loading branch information
mattbostock committed Feb 12, 2014
2 parents 5346a18 + ca40cb2 commit 2f6c428
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/tasks/panopticon.rake
Expand Up @@ -28,6 +28,8 @@ namespace :panopticon do
else
logger.error "Encountered 4 timeouts for '#{edition.slug}', skipping"
end
rescue GdsApi::HTTPErrorResponse => e
logger.error "Failed to register '#{edition.slug}' with error #{e.code}: #{e.error_details}"
end
end
end
Expand Down

0 comments on commit 2f6c428

Please sign in to comment.