How to manually create hubs and make it current/not current? #9618
-
Hi, i use Bun with sentry and want to make hub for each incoming http request How cant i simply do that? I need to create Hub for groupping breadcrumbs in sentry like it is done in node handlers from |
Beta Was this translation helpful? Give feedback.
Answered by
AbhiPrasad
Nov 21, 2023
Replies: 1 comment 6 replies
-
Hey @krutoo, thanks for writing in! Take a look at https://docs.sentry.io/platforms/node/configuration/async-context/. This is the docs for Node, but it also exists for Bun. Let me fix the docs so it shows up there. |
Beta Was this translation helpful? Give feedback.
6 replies
Answer selected by
krutoo
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey @krutoo, thanks for writing in!
Take a look at https://docs.sentry.io/platforms/node/configuration/async-context/. This is the docs for Node, but it also exists for Bun. Let me fix the docs so it shows up there.