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