debug.txt file, one need just to
append one line to lib/TWiki/Plugins.pm, after eval "use $p;"; around line 140:
eval "use $p;";
&TWiki::Func::writeDebug( "ERROR in Plugin $plugin: $@" ) if ( $@ );
I suggest this makes it in the official distrib. It should incur no overhead.
Attached is the patch to Dec 2001 version.
-- ColasNahaboo - 03 Sep 2002
What it perhaps be better to use writeWarning? I think we only use the Func routines from within Plugins.
-- JohnTalintyre - 04 Sep 2002
Fine with me.
| I | Attachment | Action | Size | Date | Who | Comment |
|---|---|---|---|---|---|---|
| | pluginerrordebug.patch | manage | 0.4 K | 03 Sep 2002 - 23:18 | ColasNahaboo |