Skip to content

Commit

Permalink
Log on unexpected message type
Browse files Browse the repository at this point in the history
  • Loading branch information
nirinchev committed Nov 15, 2023
1 parent 9a3524b commit 075e208
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/src/scheduler.dart
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ class Scheduler {
Realm.logger.log(LevelExt.fromInt(level), text);
} else if (message is int) {
realmCore.invokeScheduler(message);
} else {
Realm.logger.log(RealmLogLevel.error, 'Unexpected Scheduler message type: ${message.runtimeType} - $message');
}
};

Expand Down

0 comments on commit 075e208

Please sign in to comment.