Skip to content

fix(desktop): guard ErrorService when logService is unavailable - #617

Open
ORuessel wants to merge 1 commit into
Noovolari:masterfrom
ORuessel:fix/error-service-guard-log-unavailable
Open

fix(desktop): guard ErrorService when logService is unavailable #617
ORuessel wants to merge 1 commit into
Noovolari:masterfrom
ORuessel:fix/error-service-guard-log-unavailable

Conversation

@ORuessel

@ORuessel ORuessel commented Apr 4, 2026

Copy link
Copy Markdown

Prevent white screen / bootstrap failure when logService.log is not ready (e.g. TypeError: Cannot read properties of undefined (reading 'log')).

Fallback to console.error; wrap logging in try/catch.

Related: #524

Changelog

List of new feature and/or fixes here.

Bugfixes

Describe the fixes and specifying the issue if related.

Enhancements

Describe the enhancements specifying the issue if related.

Notes

Write eventual notes or reminders specifying if you have any sort of reference

Prevent white screen / bootstrap failure when logService.log is not ready
(e.g. TypeError: Cannot read properties of undefined (reading 'log')).

Fallback to console.error; wrap logging in try/catch.

Related: Noovolari#524

Signed-off-by: ORuessel <oruessel@gmx.de>
@sonarqubecloud

sonarqubecloud Bot commented Apr 4, 2026

Copy link
Copy Markdown

@ORuessel

ORuessel commented Apr 4, 2026

Copy link
Copy Markdown
Author

The semantic-pull-request** (or related) check failed with Error: Bad credentials — looks like a GitHub Actions / GITHUB_TOKEN or workflow permissions issue on the repo side. Could you @mikedizon @deiga @joebowbeer @jhuizingh re-run the failed jobs or check Settings → Actions → Workflow permissions? Thanks Oliver

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant