aws-auto-remediate icon indicating copy to clipboard operation
aws-auto-remediate copied to clipboard

Exception handling refactor

Open mlevit opened this issue 5 years ago • 0 comments

I think this gives a clue for how we should refactor the error handling - it should raise the NoSuchBucket exception (or whatever) directly and we should assert that that exception is raised and caught here.

That means we should have the try except in the lambda_handler remediate() function, I think

Originally posted by @jihygk in https://github.com/servian/aws-auto-remediate/pull/30

mlevit avatar May 20 '19 13:05 mlevit