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