mirror of
https://github.com/softprops/action-gh-release
synced 2026-10-01 01:01:32 +00:00
chore: log the error that is caught when finalizing a release (#716)
This commit is contained in:
1 parent
5122b4edc9
commit
026d617849
2 files changed
+6
-5
No files matched your search
+2
-1
@@ -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