Added log for publish metrics error
Added log for publish metrics error

kiranmeduri/amazon-ecs-agent,aws/amazon-ecs-agent,swipely/amazon-ecs-agent,aws/amazon-ecs-agent,swipely/amazon-ecs-agent,swipely/amazon-ecs-agent,kiranmeduri/amazon-ecs-agent,aws/amazon-ecs-agent,kiranmeduri/amazon-ecs-agent,swipely/amazon-ecs-agent,aws/amazon-ecs-agent,kiranmeduri/amazon-ecs-agent