From fa67ae0daebfbcb3eac6c140428e110a0f529fbb Mon Sep 17 00:00:00 2001 From: falood Date: Thu, 9 Nov 2023 17:14:27 +0900 Subject: [PATCH] debug start error --- .gitignore | 2 +- lib/file_system/worker.ex | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index e0d1afd..c400512 100644 --- a/.gitignore +++ b/.gitignore @@ -26,6 +26,6 @@ file_system-*.tar /tmp # Misc -/priv/mac_listener +/priv/mac_listener* /priv/kqueue mix.lock diff --git a/lib/file_system/worker.ex b/lib/file_system/worker.ex index 1166cc8..03e7ebd 100644 --- a/lib/file_system/worker.ex +++ b/lib/file_system/worker.ex @@ -20,7 +20,9 @@ defmodule FileSystem.Worker do {:ok, backend_pid} <- backend.start_link([{:worker_pid, self()} | rest]) do {:ok, %{backend_pid: backend_pid, subscribers: %{}}} else - _ -> :ignore + any -> + IO.inspect(any) + :ignore end end