Antoon Pardon writes:
> Now I found the following in the logs: [Errno 131] Connection reset by peer
> This is a problem I would like to catch earlier
I'd expect that's an IOError thrown by the socket library. You could
just let it go uncaught and see what you get in the crash dump.
--
https://
Antoon Pardon writes:
> Python 2.6.4 on a solaris box.
>
> I have a program in which all kind of excptions can be thrown and caugth.
> The main program is something like below:
>
> try:
> do_stuff
> except Exception:
> log unexpected trouble
You're throwing away the exception object, wit
> On Sep 5, 2017, at 4:50 AM, Antoon Pardon wrote:
>
> Python 2.6.4 on a solaris box.
>
> I have a program in which all kind of excptions can be thrown and caugth.
> The main program is something like below:
>
> try:
>do_stuff
> except Exception:
>log unexpected trouble
>
> Now I foun
On 05-09-17 13:39, Steve D'Aprano wrote:
> On Tue, 5 Sep 2017 06:50 pm, Antoon Pardon wrote:
>
>> Python 2.6.4 on a solaris box.
>>
>> I have a program in which all kind of excptions can be thrown and caugth.
>> The main program is something like below:
>>
>> try:
>> do_stuff
>> except Excepti
On Tue, 5 Sep 2017 06:50 pm, Antoon Pardon wrote:
> Python 2.6.4 on a solaris box.
>
> I have a program in which all kind of excptions can be thrown and caugth.
> The main program is something like below:
>
> try:
> do_stuff
> except Exception:
> log unexpected trouble
>
> Now I found t
On 05Sep2017 10:50, Antoon Pardon wrote:
Python 2.6.4 on a solaris box.
I have a program in which all kind of excptions can be thrown and caugth.
The main program is something like below:
try:
do_stuff
except Exception:
log unexpected trouble
Now I found the following in the logs: [Errn
On 05Sep2017 19:44, Cameron Simpson wrote:
Almost anything which says "Errno ..." is almost always an OSError (or an
IOError as I found the other day). I try to be quite picky about these. So for
example:
Oh yes, and on a UNIX host such as Solaris the command "man 2 intro" will
normally show
Antoon Pardon wrote:
> Python 2.6.4 on a solaris box.
>
> I have a program in which all kind of excptions can be thrown and caugth.
> The main program is something like below:
>
> try:
> do_stuff
> except Exception:
> log unexpected trouble
>
> Now I found the following in the logs: [Er
Hi,
It looks to me like an OSError, can it be?
Best
2017-09-05 10:50 GMT+02:00 Antoon Pardon :
> Python 2.6.4 on a solaris box.
>
> I have a program in which all kind of excptions can be thrown and caugth.
> The main program is something like below:
>
> try:
> do_stuff
> except Exception:
>
Python 2.6.4 on a solaris box.
I have a program in which all kind of excptions can be thrown and caugth.
The main program is something like below:
try:
do_stuff
except Exception:
log unexpected trouble
Now I found the following in the logs: [Errno 131] Connection reset by peer
This is a
10 matches
Mail list logo