Skip to content

Commit c881ee6

Browse files
committed
requested changes pushed
1 parent 433306b commit c881ee6

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/LCT.APICommunications/AttachmentHelper.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -95,11 +95,11 @@ public string AttachComponentSourceToSW360(AttachReport attachReport, Comparison
9595
}
9696
catch (UriFormatException ex)
9797
{
98-
Logger.Error($"AttachComponentSourceToSW360:", ex);
98+
Logger.Error($" └── AttachComponentSourceToSW360:", ex);
9999
}
100100
catch (SecurityException ex)
101101
{
102-
Logger.Error($"AttachComponentSourceToSW360:", ex);
102+
Logger.Error($" └── AttachComponentSourceToSW360:", ex);
103103
}
104104
catch (WebException webex)
105105
{
@@ -117,7 +117,7 @@ public string AttachComponentSourceToSW360(AttachReport attachReport, Comparison
117117
}
118118
catch (IOException ex)
119119
{
120-
Logger.Error($"AttachComponentSourceToSW360:Failed attach source for release = {attachReport.ReleaseId}");
120+
Logger.Error($" └── AttachComponentSourceToSW360:Failed attach source for release = {attachReport.ReleaseId}");
121121
Logger.Debug($"AttachComponentSourceToSW360:", ex);
122122
}
123123
return releaseAttachementApi;
@@ -162,7 +162,7 @@ private static void HandleAcceptedStatus(HttpWebResponse httpResponse, Compariso
162162
{
163163
if (httpResponse.StatusCode == HttpStatusCode.Accepted)
164164
{
165-
Logger.Logger.Log(null, Level.Warn, $"Moderation request is created while uploading source code in SW360. Please request {component.ReleaseCreatedBy} or the license clearing team to approve the moderation request.", null);
165+
Logger.Logger.Log(null, Level.Warn, $" └── Moderation request is created while uploading source code in SW360. Please request {component.ReleaseCreatedBy} or the license clearing team to approve the moderation request.", null);
166166
}
167167
else
168168
{

src/LCT.Services/Sw360CreatorService.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ public async Task<ReleaseCreateStatus> CreateReleaseForComponent(ComparisonBomDa
183183
Environment.ExitCode = -1;
184184
Logger.Debug($"CreateReleaseForComponent():Component Name -{componentInfo.Name}{componentInfo.Version}- " +
185185
$"response status code-{response.StatusCode} and reason pharase-{response.ReasonPhrase}");
186-
Logger.Error($"CreateReleaseForComponent():Component Name -{componentInfo.Name}{componentInfo.Version}- " +
186+
Logger.Error($" └── CreateReleaseForComponent():Component Name -{componentInfo.Name}{componentInfo.Version}- " +
187187
$"response status code-{response.StatusCode} and reason pharase-{response.ReasonPhrase}");
188188
}
189189

@@ -221,7 +221,7 @@ private async Task<string> GetReleaseIdToLinkToProject(string name, string versi
221221
}
222222
if (string.IsNullOrEmpty(releaseId))
223223
{
224-
Logger.Warn($"Release id not found for the Component - {name}-{version}");
224+
Logger.Warn($" └── Release id not found for the Component - {name}-{version}");
225225
}
226226
return releaseId ?? string.Empty;
227227
}

0 commit comments

Comments
 (0)