Commit graph

8 commits

Author SHA1 Message Date
Johannes Millan
e571d6e3bc fix(error-handling): prevent [object Object] from appearing in error messages
Improve error text extraction utilities to never return "[object Object]"
when displaying error messages to users. The fix adds more robust fallback
mechanisms including:

- Check for message, name, statusText properties before calling toString()
- Detect "[object Object]" result and fallback to JSON.stringify()
- Provide meaningful fallback messages when all extraction methods fail

Fixes #5790
2026-01-02 15:40:14 +01:00
Johannes Millan
68f3b787d0 fix: handle special characters in IPC errors and skip translation 2025-11-21 12:22:11 +01:00
Johannes Millan
34ac3dd757 refactor: improve typing 2 2025-08-12 15:27:48 +02:00
Johannes Millan
e2b9f82411 feat(electronSecurity): make electron log work again 2023-12-15 16:38:00 +01:00
Johannes Millan
7ee50dc485 refactor: moved shared stuff to its own folder 2022-03-12 11:59:52 +01:00
Johannes Millan
2284892272 refactor(elctron): add typing wherever possible and simplify 2022-01-30 20:12:41 +01:00
Johannes Millan
696451057b refactor(electron): add missing return types 2021-07-22 16:07:24 +02:00
Johannes Millan
afca80f0b7 feat(electron): improve logging 2021-05-25 09:50:10 +02:00
Renamed from electron/error-handler.ts (Browse further)