Files
Lord VB | Evernix 367a01a66d fix(desktop): use a single ErrorHandler that forwards to Sentry and ErrorHandlerService (#10326)
* fix(desktop): use a single ErrorHandler that forwards to Sentry and ErrorHandlerService

The desktop, agent and desktop-timer apps registered two ErrorHandler
providers. Angular only keeps the last one, so either Sentry never saw
uncaught errors (desktop) or the app toast/logging handler was dead
(agent, desktop-timer).

Replace both with one factory provider that delegates to the Sentry
handler and then to ErrorHandlerService. Sentry console logging is
disabled since ErrorHandlerService already logs the error.

Closes #9106

* refactor(desktop-ui-lib): extract provideGlobalErrorHandler to remove duplicated provider

Move the combined ErrorHandler factory into desktop-ui-lib so the three
desktop apps share one implementation. The reporting handler (Sentry) is
passed in, so desktop-ui-lib does not need a Sentry dependency.

* fix(desktop-ui-lib): always run ErrorHandlerService and guard nullish errors in global handler

Run ErrorHandlerService in a finally block so a throwing reporting handler
cannot skip it, and wrap nullish values in an Error before passing them to
ErrorHandlerService. The value sent to the reporting handler is unchanged.
2026-09-28 19:54:07 +02:00
..
2024-12-20 08:30:49 +01:00
2024-12-20 08:30:49 +01:00
2024-12-20 08:30:49 +01:00
2024-12-20 08:30:49 +01:00
2024-12-20 08:30:49 +01:00
2025-03-15 16:49:03 +01:00
2024-12-20 08:30:49 +01:00

Ever Gauzy Desktop Timer Application

Ever Gauzy Desktop Timer is a cross-platform application built with nstudio/electron for seamless integration with Gauzy.


Prerequisites