He-Pin commented on code in PR #2631:
URL: https://github.com/apache/pekko/pull/2631#discussion_r2703094362


##########
stream/src/main/scala/org/apache/pekko/stream/impl/fusing/Ops.scala:
##########
@@ -2180,10 +2181,10 @@ private[pekko] object TakeWithin {
               TraversalBuilder.getValuePresentedSource(source) match {
                 case OptionVal.Some(graph) => graph match {
                     case singleSource: SingleSource[T @unchecked] => emit(out, 
singleSource.elem, () => completeStage())
-                    case failed: FailedSource[T @unchecked]       => 
failStage(failed.failure)
+                    case failed: FailedSource[T @unchecked]       => 
onFailure(failed.failure)
                     case futureSource: FutureSource[T @unchecked] => 
futureSource.future.value match {
                         case Some(Success(elem)) => emit(out, elem, () => 
completeStage())
-                        case Some(Failure(ex))   => failStage(ex)
+                        case Some(Failure(ex))   => onFailure(ex)

Review Comment:
   The fix is here.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to