Skip to content

Commit 5481d56

Browse files
committed
Log the error that is caught when finalizing a release
1 parent 5122b4e commit 5481d56

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

dist/index.js

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/github.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,8 @@ export const finalizeRelease = async (
392392
});
393393

394394
return data;
395-
} catch {
395+
} catch (error) {
396+
console.warn(`error finalizing release: ${error}`)
396397
console.log(`retrying... (${maxRetries - 1} retries remaining)`);
397398
return finalizeRelease(config, releaser, release, maxRetries - 1);
398399
}

0 commit comments

Comments
 (0)