mirror of
https://repository.entgra.net/community/device-mgt-plugins.git
synced 2025-09-16 23:42:15 +00:00
Catch exception in MQTTAdapterListener.messageArrived()
This commit is contained in:
commit
4424557413
@ -243,6 +243,8 @@ public class MQTTAdapterListener implements MqttCallback, Runnable {
|
||||
} else {
|
||||
inputEventAdapterListener.onEvent(msgText);
|
||||
}
|
||||
} catch (Exception ex) {
|
||||
log.error("Error in message arrive : ", ex);
|
||||
} finally {
|
||||
PrivilegedCarbonContext.endTenantFlow();
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user