Since the `cause` of cb_connection_lost is always null, IMO, we need to guide user to check the log messages of the broker
Signed-off-by: Hyoung Joo Ahn <hello.ahn@samsung.com>
g_cond_broadcast (&self->mqtt_src_gcond);
if (!self->err) {
self->err = g_error_new (self->gquark_err_tag, EHOSTDOWN,
- "Connection to the host (broker) has been lost: %s",
+ "Connection to the host (broker) has been lost: %s \n"
+ "\t\tfor detail, please check the log message of the broker",
g_strerror (EHOSTDOWN));
}
g_mutex_unlock (&self->mqtt_src_mutex);