mirror of
https://github.com/plankanban/planka.git
synced 2026-02-05 00:39:58 +03:00
[PR #794] [CLOSED] fix: 🐛 clean catch possible rejected promise #1106
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/plankanban/planka/pull/794
Author: @HannesOberreiter
Created: 6/17/2024
Status: ❌ Closed
Base:
master← Head:catch-webhook-promise📝 Commits (1)
e94e528fix: 🐛 nice catch possible rejected promise📊 Changes
1 file changed (+3 additions, -1 deletions)
View changed files
📝
server/api/helpers/utils/send-webhooks.js(+3 -1)📄 Description
Improvement on catching rejected promise if the fetch API rejects, as pointed out as one possible improvement in feature request: https://github.com/plankanban/planka/issues/793
(I'm not sure if sails nicely handle/logs the rejected async event loops by themself, if so please feel free to close the pull request)
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.