mirror of
https://github.com/agessaman/meshcore-bot.git
synced 2026-07-03 12:51:37 +00:00
4da77b7527
- Added detailed diagnostics for database initialization failures in `DBManager`, improving error logging with filesystem checks. - Implemented a new method `_resolve_viewer_db_path` in `WebViewerIntegration` to determine the database path for the viewer subprocess. - Introduced `_preflight_database_path` to validate the viewer database path, ensuring the parent directory exists, is writable, and is a directory. - Added unit tests to verify logging behavior for missing or invalid database paths in both `DBManager` and `WebViewerIntegration`.