rem: if (ex instanceof Error) return getMsg (MSG_FMT_JSEXCEPTION, [ex.name, ex.message, ex.fileName, ex.lineNumber]); 
add: if (isinstance(ex, Error)) { return getMsg(MSG_FMT_JSEXCEPTION, [ex.name, ex.message, ex.fileName, ex.lineNumber]); } if ((typeof ex == "object") && ("filename" in ex)) { return getMsg(MSG_FMT_JSEXCEPTION, [ex.name, ex.message, ex.filename, ex.lineNumber]); } 
context: function formatException (ex){    if (ex instanceof Error)        return getMsg (MSG_FMT_JSEXCEPTION, [ex.name, ex.message, ex.fileName,                                             ex.lineNumber]);    return String(ex);}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/a9a4284cd235b3b317528bcdc8964ef29581a214/utils.js/buggy/extensions/irc/js/lib/utils.js