From 631fb0948ea14fbbbcb29c4448113e6b5f0e7fc2 Mon Sep 17 00:00:00 2001 From: v0idpwn Date: Mon, 15 Apr 2024 17:30:44 -0300 Subject: [PATCH] fix --- lib/postgrex/protocol.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/postgrex/protocol.ex b/lib/postgrex/protocol.ex index a9dfc12f..92bbeeb6 100644 --- a/lib/postgrex/protocol.ex +++ b/lib/postgrex/protocol.ex @@ -205,7 +205,7 @@ defmodule Postgrex.Protocol do defp fetch_database(opts) do case Keyword.fetch(opts, :database) do {:ok, value} -> - value + {:ok, value} :error -> message = "missing the :database key in options for #{inspect(opts[:repo])}"