[ditz-talk] PATCH: ditz init crashes when it can't find .ditz/ditz_plugins?

Matthew Wilson matt at tplus1.com
Mon Dec 29 12:32:44 EST 2008


On Mon, Dec 29, 2008 at 10:47 AM, Nolan Darilek <nolan at thewordnerd.info> wrote:
> Seems to me like it'd make more sense to catch and rescue that exception
> directly in load_plugins. IMHO, it shouldn't be an API client's job to say
> "don't fail if there are no plugins," the API should gracefully handle cases
> where none exist. And if someone embeds Ditz into, say, a project-tracking
> app, they'll have to duplicate that same logic otherwise.

Yeah, I agree with that reasoning.

-- 
Matthew Wilson
matt at tplus1.com
http://tplus1.com


More information about the ditz-talk mailing list