AUDIT: r17818 - gnucash/trunk/src/gnc-module - Bug #564209: Improved debuggability for module loading
Christian Stimming
cstim at cvs.gnucash.org
Wed Jan 14 14:59:47 EST 2009
Author: cstim
Date: 2009-01-14 14:59:46 -0500 (Wed, 14 Jan 2009)
New Revision: 17818
Trac: http://svn.gnucash.org/trac/changeset/17818
Modified:
gnucash/trunk/src/gnc-module/gnc-module.c
Log:
Bug #564209: Improved debuggability for module loading
gnucash-2.2.7 doesn't (IMHO) log enough (any?) information about failures to
load optional modules. It was a bit of work to debug a recent problem (#564033)
and I ended up tweaking gnc_module_load_common() a bit to coax the error
messages out. I slightly reorganized the code in this function to accomplish
two things:
1. Make the logic clearer to someone new to the code (i.e., me)
2. If an optional module is found, log any errors in loading it
I tried to maintain the original spirit of not squawking too much about unfound
optional modules while still generating messages about legitimate problems.
Patch by G. Paul Ziemba.
BP
More information about the gnucash-patches
mailing list