mirror of
https://github.com/edubart/otclient.git
synced 2025-10-15 03:54:54 +02:00
Add C++ traceback to errors
This commit is contained in:
@@ -285,6 +285,7 @@ function addLine(text, color)
|
||||
flushEvent = scheduleEvent(flushLines, 10)
|
||||
end
|
||||
|
||||
text = string.gsub(text, '\t', ' ')
|
||||
table.insert(cachedLines, {text=text, color=color})
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user