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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user