Skip to content

Commit

Permalink
removed debugger statement from my_analytics_controller update functi…
Browse files Browse the repository at this point in the history
…on - not an error state
  • Loading branch information
ggurdin committed Jul 16, 2024
1 parent 70de0fc commit 057f07d
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions lib/pangea/controllers/my_analytics_controller.dart
Original file line number Diff line number Diff line change
Expand Up @@ -229,11 +229,8 @@ class MyAnalyticsController {
/// top level analytics sending function. Gather recent messages and activity records,
/// convert them into the correct formats, and send them to the analytics room
Future<void> _updateAnalytics() async {
// if missing important info, don't send analytics
if (userL2 == null || _client.userID == null) {
debugger(when: kDebugMode);
return;
}
// if missing important info, don't send analytics. Could happen if user just signed up.
if (userL2 == null || _client.userID == null) return;

// analytics room for the user and current target language
final Room analyticsRoom = await _client.getMyAnalyticsRoom(userL2!);
Expand Down

0 comments on commit 057f07d

Please sign in to comment.