Skip to content

Commit 7b482bb

Browse files
authored
Update CHANGELOG.md (#7864)
1 parent e424a32 commit 7b482bb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ If you want to manually add async context isolation to your application, you can
2424
import * as Sentry from '@sentry/node';
2525

2626
const requestHandler = (ctx, next) => {
27-
return new Promise((resolve, reject) => {
27+
return new Promise((resolve) => {
2828
Sentry.runWithAsyncContext(async () => {
29-
const hub = Sentry.geCurrentHub();
29+
const hub = Sentry.getCurrentHub();
3030

3131
hub.configureScope(scope =>
3232
scope.addEventProcessor(event =>

0 commit comments

Comments
 (0)