> Portal Navigation: > > - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version. > - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages). > - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`). > - Top-level index of all portals: https://dev.wix.com/docs/llms.txt > - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt ## Resource: Error Log When Publishing ## Article: Publishing Your Site ## Article Link: https://dev.wix.com/docs/develop-websites/articles/coding-with-velo/overview/error-log-when-publishing.md ## Article Content: # Error Log When Publishing You can [publish your site](https://support.wix.com/en/article/wix-editor-publishing-your-site) at any time from the top toolbar of the editor. When you click **Publish**, Wix performs an automatic check on the site's code for any errors. If errors are detected, Wix alerts you and provides the option to either return to the editor without publishing your site or to publish your site with the errors. > **Note:** > Wix only reports code errors if there have been changes to the code since the last time the site was published. If no modifications were made to the code, Wix publishes your site without requiring any additional confirmation. ## Viewing the error log
![image of popup with dev mode on](https://wixmp-833713b177cebf373f611808.wixmp.com/images/1ee0549eb4f062ecca3bf3b7e3395af3.png)
If developer mode is enabled when you publish your site, Wix provides details of the errors in your code. You can then access the most recent `build.log` file to analyze where errors have been detected. To do this, click on **View Error Log** in the publishing prompt. Later, open the `build.log` file directly in your Wix editor under **Developer Tools** to review: image of latest build opening build.log file Note that the `build.log` file is only kept for 30 days. After 30 days, the status for Latest Build under **Developer Tools** will be `Awaiting publish`. Publishing your site generates a new `build.log` file.
image of latest build with an Awaiting publish message
## What Wix checks During the automatic check, Wix analyzes your code files and validates the syntax that may prevent the bundling of code files. For example, Wix checks [`no-undef`](https://eslint.org/docs/latest/rules/no-undef) and [`no-const-assign`](https://eslint.org/docs/latest/rules/no-const-assign) rules to flag the use of undeclared variables or if `const` variables were reassigned. The files it checks are: - Page files. - [Web modules.](https://dev.wix.com/docs/develop-websites/articles/coding-with-velo/backend-code/web-modules/about-web-modules.md) - `.js` files, including [events.js](https://support.wix.com/en/article/velo-backend-events), [data.js](https://dev.wix.com/docs/develop-websites/articles/databases/wix-data/hooks/using-data-hooks/.md), [http-functions.js](https://dev.wix.com/docs/velo/velo-only-apis/wix-http-functions/introduction.md), and [routers.js](https://dev.wix.com/docs/develop-websites/articles/coding-with-velo/routers/about-routers.md#routing-code). The files it does not check are: - Certain service plugin files.