Throw error for max-retries
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Joan Sanchez 2022-09-06 14:23:25 +02:00
parent 5c5440cdfc
commit 7264595646
1 changed files with 1 additions and 1 deletions

View File

@ -126,7 +126,7 @@ module.exports = Self => {
const response = await new Promise((resolve, reject) => { const response = await new Promise((resolve, reject) => {
ftpClient.exec((err, response) => { ftpClient.exec((err, response) => {
if (response.error) { if (err || response.error) {
console.debug(`Error downloading checksum file... ${response.error}`); console.debug(`Error downloading checksum file... ${response.error}`);
reject(err); reject(err);
} }