add try statement catching

This commit is contained in:
velzie 2024-07-29 14:05:28 -04:00
parent ca1574fccc
commit 58f6a4330a
No known key found for this signature in database
GPG key ID: 048413F95F0DDE1F
4 changed files with 40 additions and 13 deletions

View file

@ -82,4 +82,8 @@ export default function (client: ScramjetClient, self: typeof globalThis) {
break;
}
}
window.$scramerr = function scramerr(e) {
console.error("CAUGHT ERROR", e);
};
}