Skip to content

Commit

Permalink
Minor cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Omondi committed May 3, 2024
1 parent fe9abba commit 390bb92
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/kiota/Rpc/Server.cs
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,6 @@ public async Task<List<LogEntry>> GeneratePluginAsync(string openAPIFilePath, st
configuration.OutputPath = GetAbsolutePath(outputPath);
if (!string.IsNullOrEmpty(clientClassName))
configuration.ClientClassName = clientClassName;
// configuration.SkipGeneration = skipGeneration;
configuration.CleanOutput = cleanOutput;
configuration.ClearCache = clearCache;
configuration.Operation = ConsumerOperation.Add; //TODO should be updated to edit in the edit scenario
Expand All @@ -218,7 +217,7 @@ public async Task<List<LogEntry>> GeneratePluginAsync(string openAPIFilePath, st
}
catch (Exception ex)
{
globalLogger.LogCritical("error adding the client: {exceptionMessage}", ex.Message);
globalLogger.LogCritical(ex, "error adding the client: {exceptionMessage}", ex.Message);
}
return globalLogger.LogEntries;
}
Expand Down

0 comments on commit 390bb92

Please sign in to comment.