mirror of
https://github.com/linuxserver/core.git
synced 2026-02-20 05:07:19 +08:00
Make exception explicit
This commit is contained in:
parent
a16f73ebc7
commit
6aacc02211
@ -149,7 +149,7 @@ define(function(require, exports, module) {
|
||||
|
||||
// fixes a problem with Ace architect loading /lib/ace
|
||||
// creating a conflict with themes
|
||||
if (theme.isDark === undefined)
|
||||
if (!theme || theme.isDark === undefined)
|
||||
throw new Error();
|
||||
}
|
||||
catch (e) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user