mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2025-05-01 13:41:07 +03:00
Add console error
This commit is contained in:
parent
d237df6389
commit
ded02d112c
2 changed files with 2 additions and 0 deletions
client/src/api
|
@ -14,6 +14,7 @@ export default class Api {
|
|||
});
|
||||
return response.data;
|
||||
} catch (error) {
|
||||
console.error(error);
|
||||
throw new Error(`${this.baseUrl}/${path} | ${error.response.data} | ${error.response.status}`);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue