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.
1 parent e716539 commit d12ec24Copy full SHA for d12ec24
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