Skip to content
This repository was archived by the owner on Nov 1, 2023. It is now read-only.

Commit 6d8be1a

Browse files
authored
Remove JobResult Retry Logging (#3439)
* Replace JobResult error with warning. * Make log statement. * Leaving exception.
1 parent ea4a1ab commit 6d8be1a

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/ApiService/ApiService/onefuzzlib/JobResultOperations.cs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,6 @@ private async Async.Task<bool> TryUpdate(Job job, JobResultType resultType, Dict
7676

7777
var r = await Insert(jobResult);
7878
if (!r.IsOk) {
79-
_logTracer.AddHttpStatus(r.ErrorV);
80-
_logTracer.LogError("failed to insert job result {JobId}", jobResult.JobId);
8179
throw new InvalidOperationException($"failed to insert job result {jobResult.JobId}");
8280
}
8381
_logTracer.LogInformation("created job result {JobId}", jobResult.JobId);
@@ -88,8 +86,6 @@ private async Async.Task<bool> TryUpdate(Job job, JobResultType resultType, Dict
8886

8987
var r = await Update(jobResult);
9088
if (!r.IsOk) {
91-
_logTracer.AddHttpStatus(r.ErrorV);
92-
_logTracer.LogError("failed to update job result {JobId}", jobResult.JobId);
9389
throw new InvalidOperationException($"failed to insert job result {jobResult.JobId}");
9490
}
9591
_logTracer.LogInformation("updated job result {JobId}", jobResult.JobId);

0 commit comments

Comments
 (0)