If you deployed your website on Heroku but when you visit the website on the browser you see an error, you probably did something wrong during the deployment.
No worries! You can see what you did wrong by looking at the server logs. You can access the server logs by running the following in your terminal:
heroku logs
This command will show a series of messages. Carefully read the logs to understand what went wrong. If you have trouble understanding the logs, feel free to post the logs in the Q&A.