- From: Noah Kantrowitz <
>
- To:
- Subject: [chef] Re: exceptions in resources
- Date: Tue, 14 Oct 2014 11:42:42 -0700
Can you back up and explain what you are trying to do?
--Noah
On Oct 14, 2014, at 11:34 AM, John de la Garza
<
>
wrote:
>
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...
Attachment:
signature.asc
Description: Message signed with OpenPGP using GPGMail
Archive powered by MHonArc 2.6.16.