mirror of
https://github.com/certd/certd.git
synced 2026-04-23 19:57:27 +08:00
chore: 1
This commit is contained in:
@@ -16,6 +16,11 @@ export class HttpError extends Error {
|
||||
return;
|
||||
}
|
||||
super(error.message);
|
||||
|
||||
if (error?.message?.indexOf("ssl3_get_record:wrong version number") > -1) {
|
||||
this.message = "http协议错误,服务端要求http协议,请检查是否使用了https请求";
|
||||
}
|
||||
|
||||
this.name = error.name;
|
||||
this.code = error.code;
|
||||
this.cause = error.cause;
|
||||
|
||||
Reference in New Issue
Block a user