diff options
author | Veetaha <[email protected]> | 2020-06-22 18:53:17 +0100 |
---|---|---|
committer | Veetaha <[email protected]> | 2020-06-22 19:30:32 +0100 |
commit | c2221ff7e8d60e666474e60bb3258137019952fb (patch) | |
tree | 01304bad6b5049187bef05e4673c7b1dae3e1699 /editors | |
parent | ceb69203b55d83aeaf4e58bff4a58f2f17d4087d (diff) |
Never disable error logging on the frontend
Diffstat (limited to 'editors')
-rw-r--r-- | editors/code/src/util.ts | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/editors/code/src/util.ts b/editors/code/src/util.ts index fe3fb71cd..fec4c3295 100644 --- a/editors/code/src/util.ts +++ b/editors/code/src/util.ts | |||
@@ -26,7 +26,6 @@ export const log = new class { | |||
26 | } | 26 | } |
27 | 27 | ||
28 | error(message?: any, ...optionalParams: any[]): void { | 28 | error(message?: any, ...optionalParams: any[]): void { |
29 | if (!log.enabled) return; | ||
30 | debugger; | 29 | debugger; |
31 | // eslint-disable-next-line no-console | 30 | // eslint-disable-next-line no-console |
32 | console.error(message, ...optionalParams); | 31 | console.error(message, ...optionalParams); |