Fix ios stats

This commit is contained in:
problematicconsumer
2024-01-18 23:07:29 +03:30
parent 98fca5792a
commit 17d8719d6e
2 changed files with 6 additions and 8 deletions

View File

@@ -194,7 +194,9 @@ class PlatformSingboxService with InfraLogger implements SingboxService {
if (event case Map<String, dynamic> _) {
return SingboxStats.fromJson(event);
}
loggy.error("[stats client] unexpected type, msg: $event");
loggy.error(
"[stats client] unexpected type(${event.runtimeType}), msg: $event",
);
throw "invalid type";
},
);