mirror of
https://github.com/suitenumerique/docs.git
synced 2026-08-17 21:25:43 +02:00
🐛(y-provider) fix sentry init
Sentry should actually be initialized before the app is created. We now start sentry before starting the app server.
This commit is contained in:
+5
-4
@@ -12,15 +12,16 @@ and this project adheres to
|
||||
- 🌐(i18n) rename cn_CN to zh_CN, add eo_PL and zh_TW locales #2486
|
||||
- ✨(backend) conditional email notification in server to server api #2554
|
||||
|
||||
### Changed
|
||||
|
||||
- ♿️(frontend) use semantic `<dl>` structure in document info card #2379
|
||||
|
||||
### Fixed
|
||||
|
||||
- 🐛(frontend) redirect homepage to login when homepage feat is disabled #2521
|
||||
- 🐛(backend) ignore CSPs for API docs in development
|
||||
- 🐛(frontend) export images embedded with a relative url #2573
|
||||
|
||||
### Changed
|
||||
|
||||
- ♿️(frontend) use semantic `<dl>` structure in document info card #2379
|
||||
- 🐛(y-provider) fix sentry init #2579
|
||||
|
||||
## [v5.4.1] - 2026-07-09
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
"scripts": {
|
||||
"build": "tsc -p tsconfig.build.json && tsc-alias -p tsconfig.build.json",
|
||||
"dev": "cross-env COLLABORATION_LOGGING=true && nodemon --config nodemon.json",
|
||||
"start": "node ./dist/start-server.js",
|
||||
"start": "node --import ./dist/services/sentry.js ./dist/start-server.js",
|
||||
"lint": "eslint",
|
||||
"test": "vitest"
|
||||
},
|
||||
|
||||
@@ -13,8 +13,6 @@ import { corsMiddleware, httpSecurity, wsSecurity } from '@/middlewares';
|
||||
import { routes } from '@/routes';
|
||||
import { logger } from '@/utils';
|
||||
|
||||
import '../services/sentry';
|
||||
|
||||
/**
|
||||
* init the collaboration server.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user