diff --git a/CHANGELOG-en.md b/CHANGELOG-en.md index 18c0f82..7a3caa1 100644 --- a/CHANGELOG-en.md +++ b/CHANGELOG-en.md @@ -1,5 +1,9 @@ # Change Log +### v2.3.1 + Fix the BUG in response to error messages in python3 + Optimized the error message reminder + ### v2.3.0 jsp(x) Restore the `trimDirectiveWhitespaces` set version `tunnel_compatibility.jsp(x)` that is compatible with the lower version of jdk jsp(x) `response.getOutputStream()` replaced with ʻout.write()` to solve the performance and stability problems caused by error messages on websphere diff --git a/CHANGELOG.md b/CHANGELOG.md index aeb5d81..56d4e06 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Change Log +### v2.3.1 + 修复 python3 中 response 错误信息提醒 BUG + 优化了错误信息提醒 + ### v2.3.0 jsp(x) 恢复兼容低版本 jdk 的 `trimDirectiveWhitespaces` 设置版本 `tunnel_compatibility.jsp(x)` jsp(x) 的 `response.getOutputStream()` 替换成 `out.write()` 解决 websphere 上错误信息导致的性能与稳定性问题 diff --git a/README-en.md b/README-en.md index 9c15827..0b0cbbe 100644 --- a/README-en.md +++ b/README-en.md @@ -15,7 +15,7 @@ Neo-reGeorg Version ---- -2.3.0 - [Change Log](CHANGELOG.md) +2.3.2 - [Change Log](CHANGELOG.md) Features diff --git a/README.md b/README.md index 09d6ec2..b2bb1ea 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ Neo-reGeorg Version ---- -2.3.0 - [版本修改日志](CHANGELOG.md) +2.3.1 - [版本修改日志](CHANGELOG.md) diff --git a/neoreg.py b/neoreg.py index 33aa10b..361e9a3 100755 --- a/neoreg.py +++ b/neoreg.py @@ -458,9 +458,10 @@ def askGeorg(conn, connectURLs, redirectURLs): message = rV[message] log.error("Georg is not ready. Error message: %s" % message) else: - log.error('Expect Response: {}'.format(BASICCHECKSTRING[0:100])) - log.error('Real Response: {}'.format(response.content.strip()[0:100])) + log.warning('Expect Response: {}'.format(BASICCHECKSTRING[0:100])) + log.warning('Real Response: {}'.format(response.content.strip()[0:100])) log.error("Georg is not ready, please check URL and KEY. rep: [{}] {}".format(response.status_code, response.reason)) + log.error("You can set the `--skip` parameter to ignore errors") exit()