[Medium] submitBin swallows re-fetch errors (dangling promise) #44
Loading…
Reference in a new issue
No description provided.
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?
File: screens-library.jsx:33-40
Severity: Medium
The POST .then() fires a GET to refresh bins but does not return the inner promise. The .catch only catches POST failures. If the re-fetch fails, the error is silently swallowed.
Fix: Return the inner promise and flatten the chain.