diff options
author | Aleksey Kladov <[email protected]> | 2020-02-21 14:59:46 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2020-02-22 15:03:47 +0000 |
commit | 49844ab717d8d1790dbdf7f44d160936ece0e80f (patch) | |
tree | 42c009ba902ecdda6d22daa8063fcb19f20408c7 /editors/code/src/main.ts | |
parent | 2cbe8a4c4be2a69b27c248ab96341c2336f983cd (diff) |
Extract client-side logging
Diffstat (limited to 'editors/code/src/main.ts')
-rw-r--r-- | editors/code/src/main.ts | 3 |
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'; | |||
7 | import { activateHighlighting } from './highlighting'; | 7 | import { activateHighlighting } from './highlighting'; |
8 | import { ensureServerBinary } from './installation/server'; | 8 | import { ensureServerBinary } from './installation/server'; |
9 | import { Config } from './config'; | 9 | import { Config } from './config'; |
10 | import { log } from './util'; | ||
10 | 11 | ||
11 | let ctx: Ctx | undefined; | 12 | let 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); |