[PR #6338] [CLOSED] chore: add stack-traces to node:async_hooks error #32202

Closed
opened 2026-04-17 23:03:05 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/6338
Author: @ping-maxwell
Created: 11/26/2025
Status: Closed

Base: canaryHead: fix/node-async-hooks-stack


📝 Commits (1)

  • fa54732 chore: add stack-traces to node:async_hooks error

📊 Changes

1 file changed (+2 additions, -0 deletions)

View changed files

📝 packages/core/src/async_hooks/index.ts (+2 -0)

📄 Description

Summary by cubic

Log the error stack when AsyncLocalStorage import fails, right before the existing warning. This makes it easier to debug environments where AsyncLocalStorage is missing.

Written for commit fa54732e59. Summary will update automatically on new commits.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/better-auth/better-auth/pull/6338 **Author:** [@ping-maxwell](https://github.com/ping-maxwell) **Created:** 11/26/2025 **Status:** ❌ Closed **Base:** `canary` ← **Head:** `fix/node-async-hooks-stack` --- ### 📝 Commits (1) - [`fa54732`](https://github.com/better-auth/better-auth/commit/fa54732e59068d5a13d98ebd312102c96e35ec0c) chore: add stack-traces to node:async_hooks error ### 📊 Changes **1 file changed** (+2 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `packages/core/src/async_hooks/index.ts` (+2 -0) </details> ### 📄 Description <!-- This is an auto-generated description by cubic. --> ## Summary by cubic Log the error stack when AsyncLocalStorage import fails, right before the existing warning. This makes it easier to debug environments where AsyncLocalStorage is missing. <sup>Written for commit fa54732e59068d5a13d98ebd312102c96e35ec0c. Summary will update automatically on new commits.</sup> <!-- End of auto-generated description by cubic. --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-17 23:03:05 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#32202