mirror of
https://github.com/vodemn/m3_lightmeter.git
synced 2024-11-22 07:20:39 +00:00
log errors in console
This commit is contained in:
parent
4425c47b69
commit
6b8118ff0c
1 changed files with 1 additions and 0 deletions
|
@ -41,6 +41,7 @@ class LightmeterAnalytics {
|
|||
dynamic reason,
|
||||
Iterable<Object> information = const [],
|
||||
}) async {
|
||||
log(exception.toString(), stackTrace: stackTrace);
|
||||
if (!kReleaseMode) {
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue