feat: improve error handling and logging in the web application

- Updated the error handling in `index.html` to include a retry button for failed app loads, enhancing user experience.
- Added session storage management to prevent repeated reloads on errors.
- Enhanced the `.gitignore` file to include log files, improving project cleanliness.
- Included error logging in `main.js` to ensure better tracking of issues during app initialization.
This commit is contained in:
2026-03-03 00:10:30 +03:00
parent 7ffa727832
commit 70b9050cb7
3 changed files with 27 additions and 5 deletions

View File

@@ -68,6 +68,9 @@ applyLangToUi();
logger.info("App init", "lang=" + state.lang);
try {
sessionStorage.removeItem("__dtLoadRetry");
} catch (_) {}
window.__dtReady = true;
/**