mirror of
https://github.com/ever-co/ever-gauzy.git
synced 2026-10-02 01:54:50 +08:00
* 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.
Ever Gauzy Desktop Timer Application
Ever Gauzy Desktop Timer is a cross-platform application built with nstudio/electron for seamless integration with Gauzy.
Prerequisites
- Node.js (version 20 or later recommended)
- Yarn (Package Manager)
- nstudio/electron