robhogan / react-native-paho-mqtt

react-native-paho-mqtt
91 stars 32 forks source link

Error code not coming while trying connection with wrong credentials #31

Open st0495 opened 5 years ago

st0495 commented 5 years ago

The errorCode which should have been there when we try to connect to rabbitmq using wrong credentials is not coming and also after checking the code I found out that in the constant file error code 6 should have come in the error response whereas it is giving code 4 in catch message.