This commit is contained in:
blueloveTH 2024-04-28 20:22:08 +08:00
parent 8f5a9e8908
commit a6c4b33e8b
2 changed files with 0 additions and 3 deletions

View File

@ -39,7 +39,6 @@
#define PK_DEBUG_NO_BUILTINS 0
#define PK_DEBUG_DIS_EXEC 0
#define PK_DEBUG_CEVAL_STEP 0
#define PK_DEBUG_FULL_EXCEPTION 0
#define PK_DEBUG_MEMORY_POOL 0
#define PK_DEBUG_NO_MEMORY_POOL 0
#define PK_DEBUG_NO_AUTO_GC 0

View File

@ -169,7 +169,6 @@ namespace pkpy{
}catch (const Exception& e){
stderr_write(e.summary() + "\n");
}
#if !PK_DEBUG_FULL_EXCEPTION
catch(const std::exception& e) {
Str msg = "An std::exception occurred! It could be a bug.\n";
msg = msg + e.what() + "\n";
@ -182,7 +181,6 @@ namespace pkpy{
Str msg = "An unknown exception occurred! It could be a bug. Please report it to @blueloveTH on GitHub.\n";
stderr_write(msg);
}
#endif
callstack.clear();
s_data.clear();
return nullptr;