mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 07:17:59 +01:00
Fix Options#op
This commit is contained in:
@@ -1095,17 +1095,21 @@ const liberator = (function () //{{{
|
||||
{
|
||||
if (Components.utils.reportError)
|
||||
Components.utils.reportError(error);
|
||||
let obj = {
|
||||
toString: function () error.toString(),
|
||||
stack: <>{error.stack.replace(/^/mg, "\t")}</>
|
||||
};
|
||||
for (let [k, v] in Iterator(error))
|
||||
try
|
||||
{
|
||||
if (!(k in obj))
|
||||
obj[k] = v;
|
||||
let obj = {
|
||||
toString: function () error.toString(),
|
||||
stack: <>{error.stack.replace(/^/mg, "\t")}</>
|
||||
};
|
||||
for (let [k, v] in Iterator(error))
|
||||
{
|
||||
if (!(k in obj))
|
||||
obj[k] = v;
|
||||
}
|
||||
liberator.dump(obj);
|
||||
liberator.dump("");
|
||||
}
|
||||
liberator.dump(obj);
|
||||
liberator.dump("");
|
||||
catch (e) {}
|
||||
},
|
||||
|
||||
restart: function ()
|
||||
|
||||
Reference in New Issue
Block a user