Skip to content

Commit

Permalink
chore: log daily statistic error (#1386)
Browse files Browse the repository at this point in the history
  • Loading branch information
rabbitz committed Aug 14, 2023
1 parent 9488372 commit d42a2c1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/services/charts/daily_statistic_generator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ def call
daily_statistic.reset!(updated_attrs)

daily_statistic
rescue Exception => e
NewRelic::Agent.notice_error(e.message)
end

private
Expand Down

0 comments on commit d42a2c1

Please sign in to comment.