From 9fd9078ea8a6cbaeab0720fb4db25a05518c6c49 Mon Sep 17 00:00:00 2001
From: Edimar Cardoso <edimarlnx@gmail.com>
Date: Tue, 26 Jul 2022 12:08:12 -0300
Subject: [PATCH] Enable log stack when includes string it

---
 fibers.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fibers.js b/fibers.js
index 57bb347..3229dad 100644
--- a/fibers.js
+++ b/fibers.js
@@ -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 ||