Log also the error
ci/woodpecker/manual/ociImageTag Pipeline is running Details

This commit is contained in:
Natty 2024-01-08 02:49:39 +01:00
parent 075ef803f5
commit 21a6d3b979
Signed by: natty
GPG Key ID: BF6CB659ADEE60EC
1 changed files with 2 additions and 1 deletions

View File

@ -20,8 +20,9 @@ export default async (job: Bull.Job<DeliverJobData>) => {
try {
host = new URL(job.data.to).host;
} catch (e) {
logger.error(`${e}`);
logger.error(`Failed URL parse: ${job}`);
return "skip";
return null;
}
const puny = toPuny(host);