Flutter and Sentry.io. How to connect Error Tracking Software

Step 2

Step 3

dependencies:
sentry: ">=3.0.0 <4.0.0"
import 'package:sentry/sentry.dart';

Step 4

someOnTapHandler() async {
await sentry.captureException(
exception: 'My own silly exception',
);
...
}
await sentry.capture(
event: Event(
level: SeverityLevel.info,
message: "loginHandler",
extra: {'email': _email}),
);

Step 5

Java, Spring, Node.js, AdonisJs, React.js and Flutter developer

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store