Export Root Certificate P12 (#185)

This commit is contained in:
wanghongenpin
2024-07-25 00:29:55 +08:00
parent 134d9efa89
commit b1a17eb349
14 changed files with 275 additions and 45 deletions

View File

@@ -253,7 +253,7 @@ class HttpResponseProxyHandler extends ChannelHandler<HttpResponse> {
}
msg = response;
} catch (e, t) {
msg.status = HttpStatus(-1, Localizations.isEN ? 'Script exec error' : '执行脚本异常');
msg.status = HttpStatus(-1, 'Script exec error');
msg.body = "$e\n${msg.bodyAsString}".codeUnits;
log.e('[${clientChannel.id}] 执行脚本异常 ', error: e, stackTrace: t);
}