1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-22 16:57:57 +01:00

Closes issue #516.

This commit is contained in:
Kris Maglione
2011-06-02 16:12:14 -04:00
parent dcf02d5b73
commit 1290d9fc5a

View File

@@ -208,7 +208,7 @@ var IO = Module("io", {
}
catch (e) {
dactyl.reportError(e);
let message = _("io.sourcingError", e.echoerr || file.path + ": " + e);
let message = _("io.sourcingError", e.echoerr || (file ? file.path : filename) + ": " + e);
if (!params.silent)
dactyl.echoerr(message);
}