Skip to content

Commit

Permalink
remove println
Browse files Browse the repository at this point in the history
  • Loading branch information
THWiseman committed Sep 17, 2024
1 parent 7e87be3 commit d9aa415
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,11 @@ class BatchPollResultMonitorActor(pollMonitorParameters: PollMonitorParameters)
)
}
case _ =>
println("Programmer error: Cost Helper received message of type other than CostPollingMessage")
params.logger.foreach(logger =>
logger.error(

Check warning on line 74 in supportedBackends/google/batch/src/main/scala/cromwell/backend/google/batch/actors/BatchPollResultMonitorActor.scala

View check run for this annotation

Codecov / codecov/patch

supportedBackends/google/batch/src/main/scala/cromwell/backend/google/batch/actors/BatchPollResultMonitorActor.scala#L73-L74

Added lines #L73 - L74 were not covered by tests
s"Programmer error: Cost Helper received message of type other than CostPollingMessage"
)
)
}

override def params: PollMonitorParameters = pollMonitorParameters

Check warning on line 80 in supportedBackends/google/batch/src/main/scala/cromwell/backend/google/batch/actors/BatchPollResultMonitorActor.scala

View check run for this annotation

Codecov / codecov/patch

supportedBackends/google/batch/src/main/scala/cromwell/backend/google/batch/actors/BatchPollResultMonitorActor.scala#L80

Added line #L80 was not covered by tests
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,11 @@ class PapiPollResultMonitorActor(parameters: PollMonitorParameters) extends Poll
)
}
case _ =>
println("Programmer error: Cost Helper received message of type other than CostPollingMessage")
params.logger.foreach(logger =>
logger.error(
s"Programmer error: Cost Helper received message of type other than CostPollingMessage"
)
)
}

override def params: PollMonitorParameters = parameters
}

0 comments on commit d9aa415

Please sign in to comment.