mirror of
https://github.com/MercuryWorkshop/scramjet.git
synced 2025-05-14 06:50:01 -04:00
add try statement catching
This commit is contained in:
parent
ca1574fccc
commit
58f6a4330a
4 changed files with 40 additions and 13 deletions
|
@ -82,4 +82,8 @@ export default function (client: ScramjetClient, self: typeof globalThis) {
|
|||
break;
|
||||
}
|
||||
}
|
||||
|
||||
window.$scramerr = function scramerr(e) {
|
||||
console.error("CAUGHT ERROR", e);
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue