Skip to content
This repository has been archived by the owner on May 25, 2020. It is now read-only.

Commit

Permalink
Fix logging of TeamCityClient requests
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Moerman committed May 15, 2018
1 parent edc16b5 commit 2c9867c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/TeamCityTheatre.Core/Client/TeamCityClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public LoggingTeamCityClient(ILogger logger, T inner) {
var parameters = string.Join(", ", request.Parameters.Select(p => $"{p.Name} = {p.Value}"));
_logger.Information("[REQUEST ] {Method} {Url} with parameters {Parameters}", request.Method, request.Resource, parameters);
var response = await _inner.ExecuteRequestAsync<TResponse>(request);
_logger.Information("[RESPONSE] {Data}", response);
_logger.Information("[RESPONSE] {@Data}", response);
return response;
}
}
Expand Down

0 comments on commit 2c9867c

Please sign in to comment.