Added error message to pubsub/index