Skip to content

Commit

Permalink
chore: refine error context
Browse files Browse the repository at this point in the history
Co-authored-by: Thales Macedo Garitezi <[email protected]>
  • Loading branch information
zmstone and thalesmg authored Sep 30, 2024
1 parent c4e4940 commit d4191c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/commands/epgsql_cmd_prepared_query2.erl
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ zip(Name, Types, Params) ->
error(#{cause => "prepared_data_types_and_column_count_mismatch",
name => Name,
types => Types,
types_count => length(Types),
values_count => length(Params)
type_count => length(Types),
column_count => length(Params)
})
end.

Expand Down

0 comments on commit d4191c2

Please sign in to comment.