Skip to content

Commit 9006eb8

Browse files
authored
Update flutter.mdx
1 parent ca52aab commit 9006eb8

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

platform-includes/performance/traces-sampler-as-filter/flutter.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
```dart
2-
SentryFlutter.init((options) {
2+
await SentryFlutter.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)