Skip to content

Commit

Permalink
fix: add error log to publish step
Browse files Browse the repository at this point in the history
  • Loading branch information
meesvandongen authored and lgaticaq committed Aug 29, 2022
1 parent ab4e5d8 commit ff54932
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/prepare.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ module.exports = async (pluginConfig, ctx) => {
}
}
} catch (err) {
ctx.logger.error('failed to tag image, ', err)
ctx.logger.error(err)
throw new AggregateError([getError('EDOCKERIMAGETAG', ctx)])
}
}
1 change: 1 addition & 0 deletions src/publish.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ module.exports = async (pluginConfig, ctx) => {
}
}
} catch (err) {
ctx.logger.error(err)
throw new AggregateError([getError('EDOCKERIMAGEPUSH', ctx)])
}
}

0 comments on commit ff54932

Please sign in to comment.