better log message

This commit is contained in:
Athou
2013-05-21 14:42:04 +02:00
parent 6c90da83d0
commit 36960344e8

View File

@@ -67,7 +67,8 @@ public class SubscriptionHandler {
}
log.info("subscribed to {} for {}", hub, topic);
} catch (Exception e) {
log.error("Could not subscribe to pubsub: " + e.getMessage(), e);
log.error("Could not subscribe to {} for {} : {}", hub, topic,
e.getMessage(), e);
} finally {
client.getConnectionManager().shutdown();
}