Skip to content

Commit 714f2f6

Browse files
committed
fix missing module qualifier for JLConnectionError
Fixes a typo qualifying JLConnectionError. Difficult to hit condition, but could result in `UndefVarError: JLConnectionError`.
1 parent 2c0547d commit 714f2f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/connections.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -738,7 +738,7 @@ function conninfo(str::AbstractString)
738738
ci_ptr = libpq_c.PQconninfoParse(str, err_ref)
739739

740740
if ci_ptr == C_NULL && err_ref[] == C_NULL
741-
error(LOGGER, JLConnectionError(
741+
error(LOGGER, Errors.JLConnectionError(
742742
"libpq could not allocate memory for connection info"
743743
))
744744
end

0 commit comments

Comments
 (0)