Skip to content

Commit

Permalink
Update Bacen.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
Thiago-Simoes authored Nov 22, 2024
1 parent c40dcf1 commit ab73ac8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Bacen.jl
Original file line number Diff line number Diff line change
Expand Up @@ -135,12 +135,12 @@ function _get_bacen_data(
# Se houver blocos intermediários falhados, tenta buscar novamente no final
if !isempty(failed_blocks)
@info "Tentando novamente os blocos falhados."
for (start, end) in failed_blocks
for (start, final) in failed_blocks
try
data = _get_bacen_data_raw(indicator, start, end)
data = _get_bacen_data_raw(indicator, start, final)
push!(results, data)
catch e
@warn "Bloco $(start) a $(end) falhou novamente: $e"
@warn "Bloco $(start) a $(final) falhou novamente: $e"
end
end
end
Expand Down

0 comments on commit ab73ac8

Please sign in to comment.