Skip to content

Commit

Permalink
[aws|elb] actually raise a PolicyNotFound. ✌️
Browse files Browse the repository at this point in the history
  • Loading branch information
dylanegan committed Dec 20, 2011
1 parent 8d121ab commit 2d5d243
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/fog/aws/elb.rb
Expand Up @@ -186,6 +186,8 @@ def request(params)
raise Fog::AWS::ELB::InvalidInstance.slurp(error, match[2])
when 'LoadBalancerNotFound'
raise Fog::AWS::ELB::NotFound.slurp(error, match[2])
when 'PolicyNotFound'
raise Fog::AWS::ELB::PolicyNotFound.slurp(error, match[2])
when 'PolicyTypeNotFound'
raise Fog::AWS::ELB::PolicyTypeNotFound.slurp(error, match[2])
when 'Throttling'
Expand Down

0 comments on commit 2d5d243

Please sign in to comment.