Skip to content

Commit fd878df

Browse files
authored
chore: add stacktrace logs (#379)
Signed-off-by: Roman Gershman <romange@gmail.com>
1 parent b18d739 commit fd878df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

util/fibers/detail/scheduler.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ Scheduler::~Scheduler() {
199199

200200
ctx::fiber_context Scheduler::Preempt() {
201201
if (FiberActive() == dispatch_cntx_.get()) {
202-
LOG(DFATAL) << "Should not preempt dispatcher";
202+
LOG(DFATAL) << "Should not preempt dispatcher: " << GetStacktrace();
203203
}
204204
if (IsFiberAtomicSection())
205205
LOG(DFATAL) << "Preempting inside of atomic section";

0 commit comments

Comments
 (0)