Skip to content

Commit 6ea728c

Browse files
64J0Krzysztof-Cieslak
authored andcommitted
Add more Debug logs when activating features
1 parent a50f14d commit 6ea728c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/fsharp.fs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ let private doActivate (context: ExtensionContext) : JS.Promise<Api> =
5050
let tryActivate label activationFn =
5151
fun ctx ->
5252
try
53+
logger.Debug $"Activating feature '{label}'"
5354
activationFn ctx
5455
with ex ->
5556
logger.Error $"Error while activating feature '{label}': {ex}"
@@ -60,7 +61,7 @@ let private doActivate (context: ExtensionContext) : JS.Promise<Api> =
6061
|> Promise.onSuccess (fun _ ->
6162
let progressOpts = createEmpty<ProgressOptions>
6263
progressOpts.location <- U2.Case1 ProgressLocation.Window
63-
logger.Debug "Activating features"
64+
logger.Debug "Activating features..."
6465

6566
window.withProgress (
6667
progressOpts,

0 commit comments

Comments
 (0)