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 77ed03a commit 1130b66Copy full SHA for 1130b66
lib/tasks/temporary/oneshot.rake
@@ -74,7 +74,11 @@ namespace :oneshot do
74
end
75
76
print '.'
77
- BenchmarkRun.import!(benchmark_runs, on_duplicate_key_update: [:result, :benchmark_result_type_id])
+ begin
78
+ BenchmarkRun.import!(benchmark_runs, on_duplicate_key_update: [:result, :benchmark_result_type_id])
79
+ rescue ActiveRecord::RecordInvalid => e
80
+ puts "#{e.class}: #{e.message}"
81
+ end
82
83
puts
84
0 commit comments