add logging, and catch error when trying to publish heartbeat
add logging, and catch error when trying to publish heartbeat

AdaptiveConsulting/ReactiveTraderCloud,AdaptiveConsulting/ReactiveTraderCloud,AdaptiveConsulting/ReactiveTraderCloud,AdaptiveConsulting/ReactiveTraderCloud