mirror of
https://github.com/nodejs/node.git
synced 2026-11-24 21:50:36 -05:00
Errors from readFile(), writeFile() and appendFile() have had no stack frames since they started using a single thread pool round trip, as the stack was captured from a C++ callback with no JS frames on it. Capture it after the await instead, like the rest of fs/promises. Refs: https://github.com/nodejs/node/pull/65327 Refs: https://github.com/nodejs/node/pull/65489 Assisted-by: claude:opus-5.5 Signed-off-by: vedchaudhari <vedc2853@gmail.com> PR-URL: https://github.com/nodejs/node/pull/66757 Reviewed-By: Christian Aurich Zanettini Martins <christian.aurichzm@gmail.com> Reviewed-By: Gürgün Dayıoğlu <hey@gurgun.day>