aboutsummaryrefslogtreecommitdiff
path: root/editors/code/src/main.ts
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2020-02-21 14:59:46 +0000
committerAleksey Kladov <[email protected]>2020-02-22 15:03:47 +0000
commit49844ab717d8d1790dbdf7f44d160936ece0e80f (patch)
tree42c009ba902ecdda6d22daa8063fcb19f20408c7 /editors/code/src/main.ts
parent2cbe8a4c4be2a69b27c248ab96341c2336f983cd (diff)
Extract client-side logging
Diffstat (limited to 'editors/code/src/main.ts')
-rw-r--r--editors/code/src/main.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/editors/code/src/main.ts b/editors/code/src/main.ts
index de19a44e5..7b3bb6302 100644
--- a/editors/code/src/main.ts
+++ b/editors/code/src/main.ts
@@ -7,6 +7,7 @@ import { Ctx } from './ctx';
7import { activateHighlighting } from './highlighting'; 7import { activateHighlighting } from './highlighting';
8import { ensureServerBinary } from './installation/server'; 8import { ensureServerBinary } from './installation/server';
9import { Config } from './config'; 9import { Config } from './config';
10import { log } from './util';
10 11
11let ctx: Ctx | undefined; 12let ctx: Ctx | undefined;
12 13
@@ -38,7 +39,7 @@ export async function activate(context: vscode.ExtensionContext) {
38 try { 39 try {
39 sub.dispose(); 40 sub.dispose();
40 } catch (e) { 41 } catch (e) {
41 console.error(e); 42 log.error(e);
42 } 43 }
43 } 44 }
44 await activate(context); 45 await activate(context);