From 714f2f6f5a1c40fd163a20a81d5dde4f177232d9 Mon Sep 17 00:00:00 2001 From: tan Date: Thu, 17 Aug 2023 12:53:10 +0530 Subject: [PATCH] fix missing module qualifier for JLConnectionError Fixes a typo qualifying JLConnectionError. Difficult to hit condition, but could result in `UndefVarError: JLConnectionError`. --- src/connections.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/connections.jl b/src/connections.jl index 535416d1..91372430 100644 --- a/src/connections.jl +++ b/src/connections.jl @@ -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