Terraform apply success in CI but fails in Cloud

The terraform plan and apply succeeds in the CI but fails to send message or notification when plan and apply fails in the terraform cloud.

Is there any way to get error messages when the run fails in the cloud? Any post apply hooks documentation for terraform cloud would help.