Log when reading from storage

This commit is contained in:
José Valim 2023-02-16 13:47:49 +01:00
parent 40c5044a60
commit d282ea28c7

View file

@ -141,11 +141,14 @@ defmodule Livebook.Storage.Ets do
defp table_name(), do: :persistent_term.get(__MODULE__)
defp load_or_create_table() do
config_file_path()
path = config_file_path()
path
|> String.to_charlist()
|> :ets.file2tab()
|> case do
{:ok, tab} ->
Logger.info("Reading storage from #{path}")
tab
{:error, reason} ->