Skip to content

Commit

Permalink
fix missing module qualifier for JLConnectionError
Browse files Browse the repository at this point in the history
Fixes a typo qualifying JLConnectionError. Difficult to hit condition, but could result in `UndefVarError: JLConnectionError`.
  • Loading branch information
tanmaykm committed Aug 17, 2023
1 parent 2c0547d commit 714f2f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/connections.jl
Original file line number Diff line number Diff line change
Expand Up @@ -738,7 +738,7 @@ function conninfo(str::AbstractString)
ci_ptr = libpq_c.PQconninfoParse(str, err_ref)

if ci_ptr == C_NULL && err_ref[] == C_NULL
error(LOGGER, JLConnectionError(
error(LOGGER, Errors.JLConnectionError(
"libpq could not allocate memory for connection info"
))
end
Expand Down

0 comments on commit 714f2f6

Please sign in to comment.