- From: John de la Garza <
>
- To:
- Subject: [chef] exceptions in resources
- Date: Tue, 14 Oct 2014 14:34:26 -0400
I just asked a question about which exceptions to rescue when using
http_request. After
doing some more research, I've learned that this question doesn't really make
sense...
I've read that I can't catch the Exception at the time the recipe runs.
I have some code that uses Net::HTTP::Get that runs in a lwrp. I am
able to rescue exceptions
there. Must I write my own code to do an HTTP post if I need to have
the run not
fail just because it can't post? The post is ideal, but optional...
- [chef] exceptions in resources, John de la Garza, 10/14/2014
Archive powered by MHonArc 2.6.16.