Unless I'm misunderstanding you, that's basically what the "except Exception" does at line 199 in weewxd.py.
On Sun, Aug 2, 2026 at 4:24 PM Vince Skahan <[email protected]> wrote: > Is it possible to log 'why' weewx aborts via the finally: block in > engine.py ? > > I'm trying to help somebody who is experiencing unusual aborts but > figuring out why is pretty difficult if weewxd just stops for some reason > (my guess is presumably a skin/extension blowing up). > > Can a python try/finally block log why it failed to the catchall finally: > block ? I'm looking specifically around line 219 in engine.py > > > -- > You received this message because you are subscribed to the Google Groups > "weewx-user" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion visit > https://groups.google.com/d/msgid/weewx-user/a5a51863-37cf-42fd-89de-2bd57daba495n%40googlegroups.com > <https://groups.google.com/d/msgid/weewx-user/a5a51863-37cf-42fd-89de-2bd57daba495n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/weewx-user/CAPq0zEBy8pPs8ruLG2k9E%3DLqP5WfkMQ6VFLOY9-v-OMA%2BQWQ8Q%40mail.gmail.com.
