wjc
2025-05-07 b9cc7390e8e8ce64c41c26fb369c98ce669d660c
app/src/main/java/com/hdl/photovoltaic/internet/HttpClient.java
@@ -69,8 +69,8 @@
    public static HDLException getException(HDLException e) {
        try {
            String msg = TextUtils.isEmpty(getErrorSting(e.getCode())) ? e.getMsg() : getErrorSting(e.getCode());
            return new HDLException(e.getCode(), msg, e.getmExtra());
            String str = TextUtils.isEmpty(getErrorSting(e.getCode())) ? e.getMsg() : getErrorSting(e.getCode());
            return new HDLException(e.getCode(), str, e.getmExtra());
        } catch (Exception exception) {
            return e;
        }
@@ -90,6 +90,8 @@
                    return HDLApp.getInstance().getAppLocaleContext().getString(R.string.ssl_error);
                case 1005:
                    return HDLApp.getInstance().getAppLocaleContext().getString(R.string.timeout_error);
                case 4:
                    return HDLApp.getInstance().getAppLocaleContext().getString(R.string.signature_error_log_in_again);
            }
        } catch (Exception e) {
            e.printStackTrace();