refs #4734 fix: manejo errores
gitea/salix/pipeline/head Build queued... Details

This commit is contained in:
Vicent Llopis 2023-06-16 14:27:29 +02:00
parent 90ce0d1c27
commit ab68cb7165
1 changed files with 2 additions and 1 deletions

View File

@ -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);
}
};
};