Skip to content

Commit ce98a89

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

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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)