log errors in console

This commit is contained in:
Vadim 2024-01-27 23:10:39 +01:00
parent 4425c47b69
commit 6b8118ff0c

View file

@ -41,6 +41,7 @@ class LightmeterAnalytics {
dynamic reason, dynamic reason,
Iterable<Object> information = const [], Iterable<Object> information = const [],
}) async { }) async {
log(exception.toString(), stackTrace: stackTrace);
if (!kReleaseMode) { if (!kReleaseMode) {
return; return;
} }