From 24dcc0a9c04f8e7f48990a99b954c404d6da37d3 Mon Sep 17 00:00:00 2001 From: Vincent Biret Date: Mon, 26 Aug 2024 12:34:21 -0400 Subject: [PATCH] fix: hints after plugins update Signed-off-by: Vincent Biret --- src/kiota/Handlers/Plugin/GenerateHandler.cs | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/kiota/Handlers/Plugin/GenerateHandler.cs b/src/kiota/Handlers/Plugin/GenerateHandler.cs index 8201897d32..cb04febcc1 100644 --- a/src/kiota/Handlers/Plugin/GenerateHandler.cs +++ b/src/kiota/Handlers/Plugin/GenerateHandler.cs @@ -61,9 +61,7 @@ public override async Task InvokeAsync(InvocationContext context) var result = await builder.GeneratePluginAsync(cancellationToken).ConfigureAwait(false); if (result) { - DisplaySuccess($"Update of {clientEntry.Key} client completed"); - var manifestPath = $"{GetAbsolutePath(Path.Combine(WorkspaceConfigurationStorageService.KiotaDirectorySegment, WorkspaceConfigurationStorageService.ManifestFileName))}#{clientEntry.Key}"; - DisplayInfoHint(generationConfiguration.Language, string.Empty, manifestPath); + DisplaySuccess($"Update of {clientEntry.Key} plugin completed"); } else { @@ -76,10 +74,10 @@ public override async Task InvokeAsync(InvocationContext context) catch (Exception ex) { #if DEBUG - logger.LogCritical(ex, "error adding the client: {exceptionMessage}", ex.Message); + logger.LogCritical(ex, "error adding the client: {ExceptionMessage}", ex.Message); throw; // so debug tools go straight to the source of the exception when attached #else - logger.LogCritical("error adding the client: {exceptionMessage}", ex.Message); + logger.LogCritical("error adding the client: {ExceptionMessage}", ex.Message); return 1; #endif }