mirror of
https://github.com/pocketpy/pocketpy
synced 2025-12-06 18:20:17 +00:00
...
...
This commit is contained in:
parent
f7c1c956f4
commit
f9cc6d602e
@ -59,6 +59,7 @@ namespace pkpy{
|
|||||||
ss << st.top().snapshot() << '\n';
|
ss << st.top().snapshot() << '\n';
|
||||||
st.pop();
|
st.pop();
|
||||||
}
|
}
|
||||||
|
// TODO: allow users to override the behavior
|
||||||
if (!msg.empty()) ss << type.sv() << ": " << msg;
|
if (!msg.empty()) ss << type.sv() << ": " << msg;
|
||||||
else ss << type.sv();
|
else ss << type.sv();
|
||||||
return ss.str();
|
return ss.str();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user