Skip to content

Commit

Permalink
fix(blame): include error message in error
Browse files Browse the repository at this point in the history
  • Loading branch information
lewis6991 committed Jun 21, 2024
1 parent e4efe9b commit d03a1c9
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lua/gitsigns/current_line_blame.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d03a1c9

Please sign in to comment.