Thanks, raise should do it. I read later on last night that raise
called with nothing else re-raises the last exception, but never
thought of using it in my situation.
On 10/20/11, Christian Witts wrote:
> On 2011/10/19 09:19 PM, Alex Hall wrote:
>> Hi all,
>> I have never done logging before, an
On 2011/10/19 09:19 PM, Alex Hall wrote:
Hi all,
I have never done logging before, and I am wondering how it will
change my script. Currently, I have something like this:
for book in results:
try: checkForErrors(book)
except Exception, e:
print e
continue
That way I see any errors in a
esh water system, and public health, what have
the Romans ever done for us?
~~
>
>From: Alex Hall
>To: tutor
>Sent: Wednesday, October 19, 2011 9:19 PM
>Subject: [Tutor] logging question
>
>Hi all,
>I have never done logging before, and I am wondering how it will
&
Hi all,
I have never done logging before, and I am wondering how it will
change my script. Currently, I have something like this:
for book in results:
try: checkForErrors(book)
except Exception, e:
print e
continue
That way I see any errors in a given book, but that book is skipped
and the l