mirror of
https://github.com/appy-one/acebase.git
synced 2026-05-25 06:02:14 -06:00
[PR #271] [MERGED] Fix: suppress unhandled promise rejections and PromiseRejectionHandledWarning #201
Labels
No labels
IndexedDB
browser
bug
dependencies
documentation
duplicate
enhancement
feature request
indexes
indexes
invalid
pull-request
query
question
transaction logging
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/acebase#201
Loading…
Add table
Add a link
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?
📋 Pull Request Information
Original PR: https://github.com/appy-one/acebase/pull/271
Author: @appy-one
Created: 4/14/2026
Status: ✅ Merged
Merged: 4/15/2026
Merged by: @appy-one
Base:
master← Head:fix/unhandled-promise-rejections📝 Commits (1)
00e647fFix: suppress unhandled promise rejections and PromiseRejectionHandledWarning📊 Changes
2 files changed (+6 additions, -1 deletions)
View changed files
📝
src/node-cache.ts(+2 -1)📝
src/storage/binary/index.ts(+4 -0)📄 Description
This fixes Node.js logging lines such as: "(node:211543) PromiseRejectionHandledWarning: Promise rejection was handled asynchronously (rejection id: xxxxx)" because
catchhandlers have been added too late to notice. These errors occur on transactions that run too long, canceling read/write locks on child nodes (causing the rejections).🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.