mirror of
https://github.com/lifegpc/eh_downloader_flutter.git
synced 2026-07-08 01:30:28 +08:00
Add logging
This commit is contained in:
@@ -190,8 +190,9 @@ class TaskManager {
|
||||
} else if (type == "ping") {
|
||||
_channel?.sink.add("{\"type\":\"pong\"}");
|
||||
}
|
||||
} catch (e) {
|
||||
_log.warning("Error processing task message: $e, event: $event");
|
||||
} catch (e, stack) {
|
||||
_log.warning(
|
||||
"Error processing task message: $e, event: $event\n$stack");
|
||||
}
|
||||
}, onError: (e) {
|
||||
_log.warning("Task websocket error: $e");
|
||||
|
||||
Reference in New Issue
Block a user