error] GenServer #PID<0.1529.0> terminating
** (stop) exited in: GenServer.call(#PID<0.1539.0>, :consume_done, :infinity)
** (EXIT) no process: the process is not alive or there's no process currently associated with the given name, possibly because its application isn't started
This error is occuring at consume_uploaded_entries function
files =
consume_uploaded_entries(socket, :image, fn %{path: path}, entry ->
file_details = %{path: path, filename: entry.client_name}
upload_file = AssetStore.upload_image(dir_name, file_details)
case upload_file do
{:ok, file_path} ->
{:ok,
%{
path: file_path,
name: entry.client_name,
size: entry.client_size
}}
{:error, error} ->
{:postpone, {:error, error}}
end
end)