AUDIT: r17818 - gnucash/trunk/src/gnc-module - Bug #564209: Improved debuggability for module loading
cstim at cvs.gnucash.org
Wed Jan 14 14:59:47 EST 2009
Date: 2009-01-14 14:59:46 -0500 (Wed, 14 Jan 2009)
New Revision: 17818
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
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.
More information about the gnucash-patches