buildEvent method

SentryEvent buildEvent(
  1. Report report,
  2. Map<String, dynamic> tags
)

Implementation

SentryEvent buildEvent(Report report, Map<String, dynamic> tags) =>
    SentryEvent(
      logger: 'Catcher 2',
      serverName: 'Catcher 2',
      release: customRelease ?? _getApplicationVersion(report),
      environment: customEnvironment ??
          (report.applicationParameters['environment'] as String?),
      message: const SentryMessage('Error handled by Catcher 2'),
      throwable: report.error,
      level: SentryLevel.error,
      culprit: '',
      tags: changeToSentryMap(tags),
      user: userContext,
    );