[Twisted-Python] toc.py

Konrad Rokicki konrad at wam.umd.edu
Tue May 27 16:58:47 MDT 2003


Hey,
Is there any reason TOCClient doesnt catch exceptions made by callbacks?
Shouldn't line 902 look something like this (modeled after IRCClient):

        try:
            func(l)
        except:
            log.deferr()

Or maybe it should go somewhere else, but I don't think it should
disconnect when an exception isn't caught.

Also, what are the TOC and IRC classes for? I'm trying to do
certain things with TOCClient (i.e. user info) that only
seem to be in TOC..

Thanks,
Konrad





More information about the Twisted-Python mailing list