mirror of
https://github.com/certd/certd.git
synced 2026-04-28 07:57:25 +08:00
chore:
This commit is contained in:
@@ -86,7 +86,7 @@ class HttpError extends Error {
|
|||||||
url = (error.config.baseURL || '') + error.config.url;
|
url = (error.config.baseURL || '') + error.config.url;
|
||||||
}
|
}
|
||||||
if (url) {
|
if (url) {
|
||||||
this.message = `${this.message}:${url}`;
|
this.message = `${this.message} 【${url}】`;
|
||||||
}
|
}
|
||||||
const { stack, cause } = error;
|
const { stack, cause } = error;
|
||||||
// delete this.cause;
|
// delete this.cause;
|
||||||
|
|||||||
@@ -50,7 +50,7 @@ export class HttpError extends Error {
|
|||||||
url = (error.config?.baseURL || '') + url;
|
url = (error.config?.baseURL || '') + url;
|
||||||
}
|
}
|
||||||
if (url) {
|
if (url) {
|
||||||
this.message = `${this.message} : url=${url}`;
|
this.message = `${this.message} 【${url}】`;
|
||||||
}
|
}
|
||||||
|
|
||||||
this.response = {
|
this.response = {
|
||||||
|
|||||||
Reference in New Issue
Block a user