From 736df8ad3114854fe1c89aa3f1fac350eed7279e Mon Sep 17 00:00:00 2001 From: blueloveTH Date: Fri, 22 Mar 2024 12:16:28 +0800 Subject: [PATCH] Update error.h --- include/pocketpy/error.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/pocketpy/error.h b/include/pocketpy/error.h index a1a9a062..2061402e 100644 --- a/include/pocketpy/error.h +++ b/include/pocketpy/error.h @@ -70,7 +70,7 @@ struct Exception { template void st_push(Args&&... args){ - if(stacktrace.size() >= 8) return; + if(stacktrace.size() >= 7) return; stacktrace.emplace(std::forward(args)...); }