1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-30 09:12:26 +01:00

Fix stuff.

This commit is contained in:
Kris Maglione
2011-09-15 17:15:52 -04:00
parent f737708859
commit 423767238b

View File

@@ -176,7 +176,7 @@ var IO = Module("io", {
help.initialized = false;
}
catch (e) {
if (e.fileName)
if (e.fileName && !(e instanceof FailedAssertion))
try {
e.fileName = util.fixURI(e.fileName);
if (e.fileName == uri.spec)
@@ -208,7 +208,7 @@ var IO = Module("io", {
return context;
}
catch (e) {
dactyl.reportError(e);
util.reportError(e);
let message = _("io.sourcingError", e.echoerr || (file ? file.path : filename) + ": " + e);
if (!params.silent)
dactyl.echoerr(message);