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