rem: var str = "error: "; if (err instanceof Error) { str += err.message; } else { try { str += getWcapErrorCodeString(err); } catch (exc) { str += ("[" + err + "] Unknown error code."); } } 
add: var str = ("error: " + errorToString(err)); 
context:     logError:    function( err, context )    {        var str = "error: ";        if (err instanceof Error) {            str += err.message;        }        else {            try {                str += getWcapErrorCodeString(err);            }            catch (exc) {                str += ("[" + err + "] Unknown error code.");            }        }        Components.utils.reportError( this.log( str, context ) );        return str;    },
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/318a30b964defb311d9cf0464a3354a583a7e8f0/calWcapCalendar.js/clean/calendar/providers/wcap/calWcapCalendar.js