diff --git a/core/util/logging.js b/core/util/logging.js index 036a7dd2..4c8943d0 100644 --- a/core/util/logging.js +++ b/core/util/logging.js @@ -40,7 +40,7 @@ export function init_logging(level) { case 'none': break; default: - throw new Error("invalid logging type '" + level + "'"); + throw new window.Error("invalid logging type '" + level + "'"); } /* eslint-enable no-console, no-fallthrough */ }