Catches error
Fixed hidden error link when no css is loaded
This commit is contained in:
parent
729d67494f
commit
67db506fca
@ -158,9 +158,13 @@
|
||||
error.textContent = errMsg
|
||||
error.appendChild(a)
|
||||
// console output
|
||||
throw new Error(
|
||||
`DOSee has aborted as it is missing the above dependencies.`
|
||||
)
|
||||
try {
|
||||
throw new Error(
|
||||
`DOSee has aborted as it is missing the above dependencies.`
|
||||
)
|
||||
} catch (err) {
|
||||
console.error(err)
|
||||
}
|
||||
}
|
||||
})
|
||||
})()
|
||||
|
Loading…
x
Reference in New Issue
Block a user