Checklists /Bolt /Monitoring
Medium
Watch the deployed app, not only the chat
The Bolt conversation is not a production log. After you deploy, failures happen when you are not in the chat. Turn on the host's logs and look at them after the first real users arrive.
How to check
- Open the host's log viewer for the production deployment.
- Load the site and trigger one known action, such as signing in.
- Confirm a request appears in the logs.
- Cause one harmless 404 and confirm that shows up too.
Prompt
Fix prompt
You are working in this repository. Do not add features. Goal: failures should be logged as structured JSON on the server, without secrets. Steps: 1. Add an error handler for API routes and server actions that logs the path, status and a short message with console.error. 2. Never log cookies, Authorization headers, or request bodies that might contain passwords. 3. Return a generic message to the browser. 4. Tell me which dashboard I should open to read those logs after deploy.