THT traps all errors and displays them in a formatted error page.
Runtime errors will include a full stack strace.
Error pages can often expose sensitive information, such as directory paths.
To limit this exposure, and improve readability, THT makes all paths relative to the app root.
// Example path: /home/users/secretUserName/app/pages/home.tht // Converted to: pages/home.tht
Error pages are only displayed if any of the following is true:
- The app is running in
- When accessing the page from
adminIp, defined in
- It has been less than 10 minutes since your app code was last updated
Othwerwise, it will display a general error message and log the error information to
For basic troubleshooting, output from any