Skip to content

Commit

Permalink
Merge pull request #2389 from nervosnetwork/develop
Browse files Browse the repository at this point in the history
Deploy to testnet
  • Loading branch information
zmcNotafraid authored Jan 3, 2025
2 parents 5b20dfa + 1d3c2e2 commit a4d0563
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/services/charts/daily_statistic_generator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,8 @@ def call
daily_statistic = ::DailyStatistic.find_or_create_by!(created_at_unixtimestamp: to_be_counted_date.to_i)
daily_statistic.from_scratch = from_scratch
daily_statistic.reset!(updated_attrs)

daily_statistic
rescue Exception => e
rescue StandardError => e
Rails.logger.error "Error occurred during DailyStatisticGenerator error: #{e.message}"
end

Expand Down

0 comments on commit a4d0563

Please sign in to comment.