Skip to content

Commit 586eb8d

Browse files
mydeaLms24
andcommitted
Apply suggestions from code review
Co-authored-by: Lukas Stracke <[email protected]>
1 parent 071902d commit 586eb8d

File tree

1 file changed

+3
-3
lines changed
  • docs/platforms/javascript/common

1 file changed

+3
-3
lines changed

docs/platforms/javascript/common/apis.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Sentry.setTag("tag", "value");
3737
signature="function setCurrentClient(client: Client): void"
3838
>
3939
Make the given client the current client. You do not need this if you use
40-
`init()`, this is only necessary if you are manually setting up a client.˝
40+
`init()`, this is only necessary if you are manually setting up a client.
4141
</SdkApi>
4242

4343
<SdkApi
@@ -69,7 +69,7 @@ Sentry.setTag("tag", "value");
6969

7070
<SdkApi
7171
name="close"
72-
signature="function flush(timeout?: number): Promise<boolean>"
72+
signature="function close(timeout?: number): Promise<boolean>"
7373
parameters={[
7474
{
7575
name: "timeout",
@@ -183,7 +183,7 @@ Note that in most cases you should not use this API, but instead use `withScope`
183183
name: "exception",
184184
required: true,
185185
type: "unknown",
186-
description: "The exception to capture. This is usually an Error object.",
186+
description: "The exception to capture. For best results, pass an `Error` object but it accepts any kind of value.",
187187
},
188188
{
189189
name: "captureContext",

0 commit comments

Comments
 (0)