Skip to content

Commit 9841b3b

Browse files
author
Dario Segura
committed
[CORE] Fixed error handling in main function
1 parent 9b2da93 commit 9841b3b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ async function main() {
77
frontend.toString();
88
}
99

10-
document.addEventListener('DOMContentLoaded', async () => {
10+
document.addEventListener('DOMContentLoaded', () => {
1111
console.log(webRTCAdapter); // eslint-disable-line
12-
await main().catch(reason => {
12+
main().catch(reason => {
1313
console.error('[JUKEBOX] Unhandled ERROR: %o', reason); // eslint-disable-line
1414
return null;
1515
});

0 commit comments

Comments
 (0)