This website works better with JavaScript.
Home
Explore
Help
Sign In
flutter
/
zhiying_comm
Watch
4
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
95
Wiki
Activity
Browse Source
添加错误打印
tags/0.0.1
Weller
4 years ago
parent
0ca0a99efd
commit
a27d164742
1 changed files
with
1 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
lib/util/net_util.dart
+ 1
- 0
lib/util/net_util.dart
View File
@@ -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() ?? '未知错误');
}
Write
Preview
Loading…
Cancel
Save