fixed identifier parse error on asset details component
This commit is contained in:
parent
7600ff5c54
commit
7b4b5da428
2 changed files with 3 additions and 17 deletions
helpers
|
@ -7,20 +7,6 @@ module.exports = {
|
|||
if (error.code === 'ECONNREFUSED') {
|
||||
status = 200;
|
||||
message = 'Connection refused. The daemon may not be running.';
|
||||
// // check for errors from the daemon
|
||||
// } else if (error.response) {
|
||||
// status = error.response.status || 500;
|
||||
// if (error.response.data) {
|
||||
// if (error.response.data.message) {
|
||||
// message = error.response.data.message;
|
||||
// } else if (error.response.data.error) {
|
||||
// message = error.response.data.error.message;
|
||||
// } else {
|
||||
// message = error.response.data;
|
||||
// }
|
||||
// } else {
|
||||
// message = error.response;
|
||||
// }
|
||||
// check for thrown errors
|
||||
} else if (error.message) {
|
||||
status = 200;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue