diff --git a/lib/gears/protected_call.lua b/lib/gears/protected_call.lua index a237bec7c..c182e1497 100644 --- a/lib/gears/protected_call.lua +++ b/lib/gears/protected_call.lua @@ -13,7 +13,7 @@ local xpcall = xpcall local protected_call = {} local function error_handler(err) - gdebug.print_error(traceback("Error during a protected call: " .. tostring(err))) + gdebug.print_error(traceback("Error during a protected call: " .. tostring(err), 2)) end local function handle_result(success, ...)