mirror of
https://github.com/certd/certd.git
synced 2026-04-15 05:00:52 +08:00
chore:
This commit is contained in:
@@ -57,9 +57,9 @@ export class HttpError extends Error {
|
||||
data: error.response?.data,
|
||||
};
|
||||
|
||||
// const { stack, cause } = error;
|
||||
// this.cause = cause;
|
||||
// this.stack = stack;
|
||||
const { stack, cause } = error;
|
||||
this.cause = cause;
|
||||
this.stack = stack;
|
||||
delete error.response;
|
||||
delete error.config;
|
||||
delete error.request;
|
||||
|
||||
Reference in New Issue
Block a user