aboutsummaryrefslogtreecommitdiff
path: root/editors/code/src/util.ts
diff options
context:
space:
mode:
authorVeetaha <[email protected]>2020-06-22 18:53:17 +0100
committerVeetaha <[email protected]>2020-06-22 19:30:32 +0100
commitc2221ff7e8d60e666474e60bb3258137019952fb (patch)
tree01304bad6b5049187bef05e4673c7b1dae3e1699 /editors/code/src/util.ts
parentceb69203b55d83aeaf4e58bff4a58f2f17d4087d (diff)
Never disable error logging on the frontend
Diffstat (limited to 'editors/code/src/util.ts')
-rw-r--r--editors/code/src/util.ts1
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);