Updated error handler
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
This commit is contained in:
parent
55d047c0dd
commit
a75938b6d0
|
@ -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}`);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue