Merge branch 'traceback-with-failed-to-load-error' of https://github.com/blueyed/awesome
This commit is contained in:
commit
8b3f263de3
|
@ -92,7 +92,8 @@ local function do_load_and_handle_errors(_surface, func)
|
||||||
if result then
|
if result then
|
||||||
return result
|
return result
|
||||||
end
|
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()
|
return get_default()
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue