We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8a22f0b + d12ec24 commit 18d8627Copy full SHA for 18d8627
lib/tasks/statistics.rake
@@ -54,8 +54,9 @@ namespace :statistics do
54
}
55
56
notify_idobata.call("#{from.strftime('%Y/%m')}~#{to.strftime('%Y/%m')}のイベント履歴の集計を行いました")
57
- rescue
58
- notify_idobata.call("#{from.strftime('%Y/%m')}~#{to.strftime('%Y/%m')}のイベント履歴の集計でエラーが発生しました")
+ rescue => e
+ notify_idobata.call("#{from.strftime('%Y/%m')}~#{to.strftime('%Y/%m')}のイベント履歴の集計でエラーが発生しました\n#{e.message}")
59
+ raise e
60
end
61
62
0 commit comments