mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-03-11 09:15:45 +01:00
Fix stuff.
This commit is contained in:
@@ -176,7 +176,7 @@ var IO = Module("io", {
|
|||||||
help.initialized = false;
|
help.initialized = false;
|
||||||
}
|
}
|
||||||
catch (e) {
|
catch (e) {
|
||||||
if (e.fileName)
|
if (e.fileName && !(e instanceof FailedAssertion))
|
||||||
try {
|
try {
|
||||||
e.fileName = util.fixURI(e.fileName);
|
e.fileName = util.fixURI(e.fileName);
|
||||||
if (e.fileName == uri.spec)
|
if (e.fileName == uri.spec)
|
||||||
@@ -208,7 +208,7 @@ var IO = Module("io", {
|
|||||||
return context;
|
return context;
|
||||||
}
|
}
|
||||||
catch (e) {
|
catch (e) {
|
||||||
dactyl.reportError(e);
|
util.reportError(e);
|
||||||
let message = _("io.sourcingError", e.echoerr || (file ? file.path : filename) + ": " + e);
|
let message = _("io.sourcingError", e.echoerr || (file ? file.path : filename) + ": " + e);
|
||||||
if (!params.silent)
|
if (!params.silent)
|
||||||
dactyl.echoerr(message);
|
dactyl.echoerr(message);
|
||||||
|
|||||||
Reference in New Issue
Block a user