- Enhance error log in case of a fatal error building the changelog

- RELATES TO https://github.com/mikepenz/release-changelog-builder-action/issues/1331
This commit is contained in:
Mike Penz
2024-04-11 06:28:47 +00:00
committed by GitHub
parent 64d5b0f2ee
commit 1eff87d3e9
6 changed files with 30 additions and 31 deletions
+1
View File
@@ -111,6 +111,7 @@ async function run(): Promise<void> {
}
} catch (error: any /* eslint-disable-line @typescript-eslint/no-explicit-any */) {
core.setFailed(error.message)
core.error(`🔥 Failed to generate changelog due to ${JSON.stringify(error)}`)
}
}