mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-21 12:00:18 +00:00
some fix
This commit is contained in:
parent
8f5a9e8908
commit
a6c4b33e8b
@ -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
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user