From 538586c170cffebca405c005b63f68b125f3d340 Mon Sep 17 00:00:00 2001 From: Unai <29188654+unai-ndz@users.noreply.github.com> Date: Mon, 2 Nov 2020 01:12:42 +0100 Subject: [PATCH] textbox: print traceback on error (#3205) --- lib/wibox/widget/textbox.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/wibox/widget/textbox.lua b/lib/wibox/widget/textbox.lua index 2c09358ab..53ca6842f 100644 --- a/lib/wibox/widget/textbox.lua +++ b/lib/wibox/widget/textbox.lua @@ -188,7 +188,7 @@ end function textbox:set_markup(text) local success, message = self:set_markup_silently(text) if not success then - gdebug.print_error(message) + gdebug.print_error(debug.traceback("Error parsing markup: "..message.."\nFailed with string: '"..text.."'")) end end