Skip to content

Commit

Permalink
fixup! fix: log failed db query with arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
mhanberg committed Aug 11, 2023
1 parent d894eb8 commit b1e6ff7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/next_ls/db.ex
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ defmodule NextLS.DB do

case Exqlite.Basic.exec(conn, query, args) do
{:error, %{message: message, statement: statement}, _} ->
NextLS.Logger.warn(logger, """
NextLS.Logger.warning(logger, """
sqlite3 error: #{message}
statement: #{statement}
Expand Down

0 comments on commit b1e6ff7

Please sign in to comment.