Skip to content

Commit ca52aab

Browse files
authored
Update dart.mdx
1 parent f93e871 commit ca52aab

File tree

1 file changed

+1
-1
lines changed
  • platform-includes/performance/traces-sampler-as-sampler

1 file changed

+1
-1
lines changed

platform-includes/performance/traces-sampler-as-sampler/dart.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
```dart
2-
Sentry.init((options) {
2+
await Sentry.init((options) {
33
// Determine traces sample rate based on the sampling context
44
options.tracesSampler = (samplingContext) {
55
final ctx = samplingContext.customSamplingContext;

0 commit comments

Comments
 (0)