Skip to content

Commit

Permalink
ref(nestjs): Move decorators to folder (#13509)
Browse files Browse the repository at this point in the history
Just moving the decorators to improve the structure of the nest SDK
package a bit.
  • Loading branch information
nicohrubec committed Aug 28, 2024
1 parent 7e9a038 commit 8d9fe35
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { captureException } from '@sentry/core';
import { isExpectedError } from './helpers';
import { isExpectedError } from '../helpers';

/**
* A decorator to wrap user-defined exception filters and add Sentry error reporting.
Expand Down
6 changes: 3 additions & 3 deletions packages/nestjs/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ export * from '@sentry/node';

export { init } from './sdk';

export { SentryTraced } from './span-decorator';
export { SentryCron } from './cron-decorator';
export { WithSentry } from './error-decorator';
export { SentryTraced } from './decorators/sentry-traced';
export { SentryCron } from './decorators/sentry-cron';
export { WithSentry } from './decorators/with-sentry';

0 comments on commit 8d9fe35

Please sign in to comment.