mirror of
https://github.com/softprops/action-gh-release.git
synced 2026-06-05 19:53:28 +00:00
chore: log the error that is caught when finalizing a release (#716)
This commit is contained in:
parent
5122b4edc9
commit
026d617849
2 changed files with 6 additions and 5 deletions
8
dist/index.js
vendored
8
dist/index.js
vendored
File diff suppressed because one or more lines are too long
|
|
@ -392,7 +392,8 @@ export const finalizeRelease = async (
|
|||
});
|
||||
|
||||
return data;
|
||||
} catch {
|
||||
} catch (error) {
|
||||
console.warn(`error finalizing release: ${error}`)
|
||||
console.log(`retrying... (${maxRetries - 1} retries remaining)`);
|
||||
return finalizeRelease(config, releaser, release, maxRetries - 1);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue