Skip to content

Commit

Permalink
remove stderr logging
Browse files Browse the repository at this point in the history
  • Loading branch information
rkm committed Jan 7, 2025
1 parent 0a43784 commit 8cb3e1e
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,8 @@ public SmiCtpAnonymiser(GlobalOptions globalOptions)
if (!readyTask.Wait(TimeSpan.FromSeconds(10)) || !ready)
{
ts.Cancel();
var stderr = _ctpProcess.StandardError.ReadToEnd();
_ctpProcess.Kill();
throw new Exception($"Did not receive READY before timeout. Stderr: {stderr}");
throw new Exception($"Did not receive READY before timeout");

Check warning on line 64 in src/SmiServices/Microservices/DicomAnonymiser/Anonymisers/SmiCtpAnonymiser.cs

View check run for this annotation

Codecov / codecov/patch

src/SmiServices/Microservices/DicomAnonymiser/Anonymisers/SmiCtpAnonymiser.cs#L62-L64

Added lines #L62 - L64 were not covered by tests
}
}

Expand Down

0 comments on commit 8cb3e1e

Please sign in to comment.