mirror of
https://github.com/certd/certd.git
synced 2026-04-24 20:57:26 +08:00
chore:
This commit is contained in:
@@ -33,7 +33,7 @@ export class HttpError extends Error {
|
|||||||
this.name = error.name;
|
this.name = error.name;
|
||||||
this.code = error.code;
|
this.code = error.code;
|
||||||
|
|
||||||
this.status = error.response?.status || error.code;
|
this.status = error.response?.status;
|
||||||
this.statusText = error.response?.statusText || error.code;
|
this.statusText = error.response?.statusText || error.code;
|
||||||
this.request = {
|
this.request = {
|
||||||
baseURL: error.config?.baseURL,
|
baseURL: error.config?.baseURL,
|
||||||
|
|||||||
Reference in New Issue
Block a user