🐛(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:
Anthony LC
2026-08-11 15:29:06 +02:00
parent 28438fdd92
commit c389a3c83d
3 changed files with 6 additions and 7 deletions
+5 -4
View File
@@ -12,15 +12,16 @@ and this project adheres to
- 🌐(i18n) rename cn_CN to zh_CN, add eo_PL and zh_TW locales #2486 - 🌐(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 - ✨(backend) conditional email notification in server to server api #2554
### Changed
- ♿️(frontend) use semantic `<dl>` structure in document info card #2379
### Fixed ### Fixed
- 🐛(frontend) redirect homepage to login when homepage feat is disabled #2521 - 🐛(frontend) redirect homepage to login when homepage feat is disabled #2521
- 🐛(backend) ignore CSPs for API docs in development - 🐛(backend) ignore CSPs for API docs in development
- 🐛(frontend) export images embedded with a relative url #2573 - 🐛(frontend) export images embedded with a relative url #2573
- 🐛(y-provider) fix sentry init #2579
### Changed
- ♿️(frontend) use semantic `<dl>` structure in document info card #2379
## [v5.4.1] - 2026-07-09 ## [v5.4.1] - 2026-07-09
+1 -1
View File
@@ -8,7 +8,7 @@
"scripts": { "scripts": {
"build": "tsc -p tsconfig.build.json && tsc-alias -p tsconfig.build.json", "build": "tsc -p tsconfig.build.json && tsc-alias -p tsconfig.build.json",
"dev": "cross-env COLLABORATION_LOGGING=true && nodemon --config nodemon.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", "lint": "eslint",
"test": "vitest" "test": "vitest"
}, },
@@ -13,8 +13,6 @@ import { corsMiddleware, httpSecurity, wsSecurity } from '@/middlewares';
import { routes } from '@/routes'; import { routes } from '@/routes';
import { logger } from '@/utils'; import { logger } from '@/utils';
import '../services/sentry';
/** /**
* init the collaboration server. * init the collaboration server.
* *