...
This commit is contained in:
blueloveTH 2024-01-02 20:55:46 +08:00
parent f7c1c956f4
commit f9cc6d602e

View File

@ -59,6 +59,7 @@ namespace pkpy{
ss << st.top().snapshot() << '\n';
st.pop();
}
// TODO: allow users to override the behavior
if (!msg.empty()) ss << type.sv() << ": " << msg;
else ss << type.sv();
return ss.str();