mirror of
https://github.com/certd/certd.git
synced 2026-04-27 23:37:29 +08:00
chore:
This commit is contained in:
@@ -65,7 +65,7 @@ class HttpError extends Error {
|
||||
|
||||
if (error.response) {
|
||||
this.status = error.response.status;
|
||||
this.statusText = error.response.statusText;
|
||||
this.statusText = error.response.statusText || error.code;
|
||||
this.response = {
|
||||
data: error.response.data,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user