Skip to content

Commit d76f6a5

Browse files
committed
fix(publish): fixlog errors
1 parent 540083b commit d76f6a5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/publish.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,8 @@ module.exports = async (pluginConfig, { nextRelease: { version }, logger }) => {
7171
await publish(`${major}.${minor}.${patch}-${channel}`)
7272
}
7373
} catch (err) {
74-
throw new Error('docker push failed')
74+
logger.error(err)
75+
logger.log('docker push failed')
76+
throw err
7577
}
7678
}

0 commit comments

Comments
 (0)