diff --git a/lib/pa_ess/updater.ex b/lib/pa_ess/updater.ex index f9369591c..d1c0e7233 100644 --- a/lib/pa_ess/updater.ex +++ b/lib/pa_ess/updater.ex @@ -90,7 +90,12 @@ defmodule PaEss.Updater do list -> Enum.at(list, i, List.last(list)) end) - ^top_duration = bottom_duration + if top_duration != bottom_duration do + Logger.error( + "duration mismatch when zipping pages: top=#{top_duration} bottom=#{bottom_duration}" + ) + end + {top, bottom, top_duration} end) end