Updated error handler
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Joan Sanchez 2020-08-27 14:23:40 +02:00
parent 55d047c0dd
commit a75938b6d0
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ module.exports = Self => {
if (filePath && fs.existsSync(filePath)) if (filePath && fs.existsSync(filePath))
await fs.unlink(filePath); await fs.unlink(filePath);
} catch (err) { } catch (err) {
throw new Error('ErrorHandler error: ', err); throw new Error(`ErrorHandler error: ${err}`);
} }
} }
}; };