textbox: print traceback on error (#3205)
This commit is contained in:
parent
cc67a5b40b
commit
538586c170
|
@ -188,7 +188,7 @@ end
|
||||||
function textbox:set_markup(text)
|
function textbox:set_markup(text)
|
||||||
local success, message = self:set_markup_silently(text)
|
local success, message = self:set_markup_silently(text)
|
||||||
if not success then
|
if not success then
|
||||||
gdebug.print_error(message)
|
gdebug.print_error(debug.traceback("Error parsing markup: "..message.."\nFailed with string: '"..text.."'"))
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue