Skip to content

Commit

Permalink
feat: progress
Browse files Browse the repository at this point in the history
  • Loading branch information
kirillgroshkov committed Jan 5, 2025
1 parent 09b9419 commit 2159c6d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
8 changes: 8 additions & 0 deletions src/sentry/sentry.shared.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,14 @@ const INSPECT_OPT: InspectAnyOptions = {
includeErrorData: true,
}

/**
* Recommended sentry configuration:
*
* {
* maxValueLength: 2000, // default is 250 characters
* }
*
*/
export class SentrySharedService {
constructor(sentryServiceCfg: SentrySharedServiceCfg) {
this.sentry = sentryServiceCfg.sentry
Expand Down
4 changes: 2 additions & 2 deletions src/server/getDefaultRouter.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ afterAll(async () => {
})

test('root resource ok', async () => {
// const r = await app.get('')
// expect(r).toEqual({ ok: 1 })
const r = await app.get('')
expect(r).toEqual({ ok: 1 })
})

// This started to mysteriously fail after some Got upgrade
Expand Down

0 comments on commit 2159c6d

Please sign in to comment.