Skip to content
This repository was archived by the owner on Mar 19, 2021. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions lib/sqlitex/server.ex
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,10 @@ defmodule Sqlitex.Server do
end

## Helpers
defp call(nil, _command, _opts) do
throw :no_such_process
end

defp call(atom, command, opts) when is_atom(atom) do
call(Process.whereis(atom), command, opts)
end
Expand Down