Catch exception in MQTTAdapterListener.messageArrived()

master
Lasantha Dharmakeerthi 3 months ago
commit 4424557413

@ -243,6 +243,8 @@ public class MQTTAdapterListener implements MqttCallback, Runnable {
} else { } else {
inputEventAdapterListener.onEvent(msgText); inputEventAdapterListener.onEvent(msgText);
} }
} catch (Exception ex) {
log.error("Error in message arrive : ", ex);
} finally { } finally {
PrivilegedCarbonContext.endTenantFlow(); PrivilegedCarbonContext.endTenantFlow();
} }

Loading…
Cancel
Save