mirror of
https://github.com/softprops/action-gh-release.git
synced 2026-01-12 04:20:37 +08:00
chore: log the error that is caught when finalizing a release (#716)
This commit is contained in:
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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user