Skip to content

Commit

Permalink
Enable log stack when includes string it
Browse files Browse the repository at this point in the history
  • Loading branch information
edimarlnx committed Jul 26, 2022
1 parent 7f9c68f commit 9fd9078
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fibers.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ function setupAsyncHacks(Fiber) {
}

const { LOG_USE_FIBERS_INCLUDE_IN_PATH } = process.env;
const stackFromError = new Error("[FIBERS_LOG]").stack;
const stackFromError = new Error(`[FIBERS_LOG] Using ${fibersMethod}.`).stack;

if (
!LOG_USE_FIBERS_INCLUDE_IN_PATH ||
Expand Down

0 comments on commit 9fd9078

Please sign in to comment.