fix(blame): include error message in error

This commit is contained in:
Lewis Russell 2024-06-21 15:04:28 +01:00
parent e4efe9b99b
commit d03a1c9a10

View file

@ -90,7 +90,11 @@ local function get_blame_virt_text(bufnr, blame_info)
end
local nc_sfx = use_nc and '_nc' or ''
error_once('Failed running config.current_line_blame_formatter%s, using default', nc_sfx)
error_once(
'Failed running config.current_line_blame_formatter%s, using default:\n %s',
nc_sfx,
res
)
--- @type string
clb_formatter = schema.current_line_blame_formatter.default
end