Skip to content

Commit

Permalink
Restoring original behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanAndresFritzler committed Oct 29, 2024
1 parent 630342e commit 8aa3b9c
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
import org.mule.runtime.core.api.processor.Processor;
import org.mule.runtime.core.api.processor.strategy.ProcessingStrategy;
import org.mule.runtime.core.api.retry.policy.RetryPolicyExhaustedException;
import org.mule.runtime.core.api.util.ExceptionUtils;
import org.mule.runtime.core.internal.event.EventInternalContextResolver;
import org.mule.runtime.core.internal.rx.FluxSinkRecorder;
import org.mule.runtime.core.internal.util.rx.ConditionalExecutorServiceDecorator;
Expand Down Expand Up @@ -333,7 +334,7 @@ private Throwable suppressMuleException(Throwable throwable) {
if (suppressErrors) {
return suppressIfPresent(throwable, MuleException.class);
} else {
return throwable;
return ExceptionUtils.getMessagingExceptionCause(throwable);
}
}

Expand Down

0 comments on commit 8aa3b9c

Please sign in to comment.