mirror of
https://github.com/MercuryWorkshop/scramjet.git
synced 2025-05-14 06:50:01 -04:00
oops
This commit is contained in:
parent
fb39e89df4
commit
e359a3d600
1 changed files with 2 additions and 9 deletions
|
@ -88,18 +88,11 @@ export default function (client: ScramjetClient, self: typeof globalThis) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
self.$scramerr = function scramerr(e) {
|
||||||
client.Trap("Error.prototype.stack", {
|
|
||||||
get(ctx) {
|
|
||||||
debugger;
|
|
||||||
},
|
|
||||||
});
|
|
||||||
|
|
||||||
window.$scramerr = function scramerr(e) {
|
|
||||||
// console.error("CAUGHT ERROR", e);
|
// console.error("CAUGHT ERROR", e);
|
||||||
};
|
};
|
||||||
|
|
||||||
window.$scramdbg = function scramdbg(args, t) {
|
self.$scramdbg = function scramdbg(args, t) {
|
||||||
if (args && typeof args === "object" && args.length > 0) argdbg(args);
|
if (args && typeof args === "object" && args.length > 0) argdbg(args);
|
||||||
argdbg(t);
|
argdbg(t);
|
||||||
return t;
|
return t;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue