mirror of https://github.com/certd/certd
chore:
parent
7f910a13d5
commit
7bbaa3806b
|
@ -86,7 +86,7 @@ class HttpError extends Error {
|
|||
url = (error.config.baseURL || '') + error.config.url;
|
||||
}
|
||||
if (url) {
|
||||
this.message = `${this.message}:${url}`;
|
||||
this.message = `${this.message} 【${url}】`;
|
||||
}
|
||||
const { stack, cause } = error;
|
||||
// delete this.cause;
|
||||
|
|
|
@ -50,7 +50,7 @@ export class HttpError extends Error {
|
|||
url = (error.config?.baseURL || '') + url;
|
||||
}
|
||||
if (url) {
|
||||
this.message = `${this.message} : url=${url}`;
|
||||
this.message = `${this.message} 【${url}】`;
|
||||
}
|
||||
|
||||
this.response = {
|
||||
|
|
Loading…
Reference in New Issue