mirror of
https://github.com/ValKmjolnir/Nasal-Interpreter.git
synced 2026-07-26 21:08:45 +08:00
🎨 improve error log output format.
This commit is contained in:
+1
-2
@@ -317,8 +317,7 @@ void nasal_vm::detail()
|
||||
[[noreturn]]
|
||||
void nasal_vm::die(const string& str)
|
||||
{
|
||||
std::cout<<bold_cyan<<"[vm] "
|
||||
<<bold_red<<"error: "
|
||||
std::cout<<bold_red<<"[vm] error: "
|
||||
<<bold_white<<str<<"\n"
|
||||
<<reset;
|
||||
traceback();
|
||||
|
||||
Reference in New Issue
Block a user