Retrying to send message

Ethan Furman ethan at stoneleaf.us
Wed Jun 3 19:15:51 EDT 2015


On 06/03/2015 01:37 PM, Mark Lawrence wrote:
> On 03/06/2015 19:28, Ethan Furman wrote:
>> On 06/03/2015 09:15 AM, Cecil Westerhof wrote:
>>
>>> I kept the except. I like to see the message that went wrong. ;-)
>>
>> That's fine, but then add a `raise` after you print the error so you can
>> see the reason that message failed.
>>
>
> Why bother in the first place, especially when you're developing?  Far easier to let the exception bubble up, or are we talking cross purposes?

I think Cecil means he wants to see which twitter message failed to send.  The rest of us would like to also have the error itself displayed.  ;)

--
~Ethan~



More information about the Python-list mailing list