Skip to content

Commit

Permalink
Clarify error message
Browse files Browse the repository at this point in the history
  • Loading branch information
yoohaemin committed Oct 16, 2024
1 parent 6f9fa07 commit b358470
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ class ShardManager(
_ <- persistPods.forkDaemon
} yield (),
onFalse = ZIO.logWarning(s"Pod $pod requested to register but is not alive, ignoring") *>
ZIO.fail(new RuntimeException(s"Pod $pod is not healthy"))
ZIO.fail(new RuntimeException(s"Pod $pod is not healthy, refusing to register"))
)

def notifyUnhealthyPod(podAddress: PodAddress): UIO[Unit] =
Expand Down

0 comments on commit b358470

Please sign in to comment.