Mercurial > snowl
changeset 93:c5a1570961d0
report exceptions while using strands to the error console rather than displaying an alert dialog
author | Myk Melez <myk@mozilla.org> |
---|---|
date | Sun, 18 May 2008 00:51:44 -0700 |
parents | d6866503e0c9 |
children | ecc8118e4c2e |
files | extension/content/strands.js |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/extension/content/strands.js Sun May 18 00:19:25 2008 -0700 +++ b/extension/content/strands.js Sun May 18 00:51:44 2008 -0700 @@ -207,7 +207,7 @@ return func.apply(this,arguments); } catch (e) { - alert(e.message || e); + Components.utils.reportError(e.message || e); } } newFunc.noTryCatch = func;