diff --git a/lib/util/net_util.dart b/lib/util/net_util.dart index 303aa2f..60e1bef 100644 --- a/lib/util/net_util.dart +++ b/lib/util/net_util.dart @@ -189,6 +189,7 @@ class NetUtil { onError(result[GlobalConfig.HTTP_RESPONSE_KEY_MSG] ?? '未知错误'); } } catch (e) { + Logger.error('error: ' + e.toString()); if (onError != null) { onError(e?.toString() ?? '未知错误'); }