Skip to content

Commit

Permalink
Add error log when bootstrap repair fail
Browse files Browse the repository at this point in the history
  • Loading branch information
Neylix authored and samuelmanzanera committed Mar 24, 2023
1 parent fac844e commit 14bd0b7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/archethic/self_repair.ex
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,9 @@ defmodule Archethic.SelfRepair do
:ok = Sync.load_missed_transactions(date)
{:halt, :ok}
catch
_, _ -> {:cont, :error}
error, message ->
Logger.error("Error during self repair #{error} #{message}")
{:cont, :error}
end
end)

Expand Down

0 comments on commit 14bd0b7

Please sign in to comment.