Skip to content

Commit

Permalink
Self review
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanAndresFritzler committed Oct 31, 2024
1 parent 5b0b2ba commit bb77130
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@
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 @@ -334,7 +333,7 @@ private Throwable suppressMuleException(Throwable throwable) {
if (suppressErrors) {
return suppressIfPresent(throwable, MuleException.class);
} else {
return ExceptionUtils.getMessagingExceptionCause(throwable);
return throwable;
}
}

Expand Down

0 comments on commit bb77130

Please sign in to comment.