This commit is contained in:
parent
90ce0d1c27
commit
ab68cb7165
|
@ -212,7 +212,8 @@ module.exports = Self => {
|
|||
|
||||
return referenciaVx;
|
||||
} catch (error) {
|
||||
throw Error(error.response.data);
|
||||
if (error?.response?.data) throw Error(error.response.data);
|
||||
throw Error(error);
|
||||
}
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue