-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fa227dc
commit e6b5097
Showing
24 changed files
with
438 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
You can pass an `Error` object to `captureException()` to have it captured as event. It's also possible to pass non-`Error` objects and strings, but be aware that the resulting events in Sentry may be missing a stack trace. | ||
|
||
```javascript | ||
import * as Sentry from "@sentry/nestjs"; | ||
|
||
try { | ||
aFunctionThatMightFail(); | ||
} catch (e) { | ||
Sentry.captureException(e); | ||
} | ||
``` |
10 changes: 10 additions & 0 deletions
10
platform-includes/configuration/capture-console/javascript.nestjs.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<SignInNote /> | ||
|
||
```javascript {tabTitle: JavaScript} | ||
import * as Sentry from "@sentry/nestjs"; | ||
|
||
Sentry.init({ | ||
dsn: "___PUBLIC_DSN___", | ||
integrations: [Sentry.captureConsoleIntegration()], | ||
}); | ||
``` |
10 changes: 10 additions & 0 deletions
10
platform-includes/configuration/contextlines/javascript.nestjs.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<SignInNote /> | ||
|
||
```javascript {tabTitle: JavaScript} | ||
import * as Sentry from "@sentry/nestjs"; | ||
|
||
Sentry.init({ | ||
dsn: "___PUBLIC_DSN___", | ||
integrations: [Sentry.captureConsoleIntegration()], | ||
}); | ||
``` |
10 changes: 10 additions & 0 deletions
10
platform-includes/configuration/debug/javascript.nestjs.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<SignInNote /> | ||
|
||
```javascript {tabTitle: JavaScript} | ||
import * as Sentry from "@sentry/nestjs"; | ||
|
||
Sentry.init({ | ||
dsn: "___PUBLIC_DSN___", | ||
integrations: [Sentry.debugIntegration()], | ||
}); | ||
``` |
11 changes: 11 additions & 0 deletions
11
platform-includes/configuration/dedupe/javascript.nestjs.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<SignInNote /> | ||
|
||
```javascript {tabTitle: JavaScript} | ||
import * as Sentry from "@sentry/nestjs"; | ||
|
||
Sentry.init({ | ||
dsn: "___PUBLIC_DSN___", | ||
integrations: [Sentry.dedupeIntegration()], | ||
}); | ||
``` | ||
ing |
10 changes: 10 additions & 0 deletions
10
...includes/configuration/enable-pluggable-integrations-lazy/javascript.nestjs.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<SignInNote /> | ||
|
||
```javascript {tabTitle: JavaScript} | ||
import * as Sentry from "@sentry/nestjs"; | ||
|
||
Sentry.init({ | ||
dsn: "https://examplePublicKey@o0.ingest.sentry.io/0", | ||
integrations: [Sentry.captureConsoleIntegration()], | ||
}); | ||
``` |
Oops, something went wrong.