mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-25 10:15:46 +01:00
Improve objectToString a bit
This commit is contained in:
@@ -1095,7 +1095,7 @@ const liberator = (function () //{{{
|
||||
Components.utils.reportError(error);
|
||||
let obj = {
|
||||
toString: function () error.toString(),
|
||||
stack: { toString: function () "\n" + error.stack.replace(/^/mg, "\t") }
|
||||
stack: <>{error.stack.replace(/^/mg, "\t")}</>
|
||||
};
|
||||
for (let [k, v] in Iterator(error))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user