mirror of https://github.com/apache/activemq.git
replace throwable with runtime exception
This commit is contained in:
parent
4c0b7ce9b1
commit
26eb103b92
|
@ -1062,7 +1062,7 @@ public class ActiveMQSession implements Session, QueueSession, TopicSession, Sta
|
||||||
} catch (Throwable t) {
|
} catch (Throwable t) {
|
||||||
LOG.debug("Unable to call after delivery", t);
|
LOG.debug("Unable to call after delivery", t);
|
||||||
afterDeliveryError.set(true);
|
afterDeliveryError.set(true);
|
||||||
throw t;
|
throw new RuntimeException(t);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue