diff --git a/lib/gears/surface.lua b/lib/gears/surface.lua index 3cb18565..1c4800e6 100644 --- a/lib/gears/surface.lua +++ b/lib/gears/surface.lua @@ -92,7 +92,8 @@ local function do_load_and_handle_errors(_surface, func) if result then return result end - gdebug.print_error("Failed to load '" .. tostring(_surface) .. "': " .. tostring(err)) + gdebug.print_error(debug.traceback( + "Failed to load '" .. tostring(_surface) .. "': " .. tostring(err))) return get_default() end