Merge pull request 'refs #5684 Fixed no error' (!1751) from 5684-updateDataHandledError into master
gitea/salix/pipeline/head This commit looks good Details

Reviewed-on: #1751
Reviewed-by: Javi Gallego <jgallego@verdnatura.es>
This commit is contained in:
Guillermo Bonet 2023-09-18 07:50:01 +00:00
commit 73b79ed7b2
1 changed files with 1 additions and 1 deletions

View File

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