Skip to content
Snippets Groups Projects

Fix n plus one issue ci build dast profile

All threads resolved!
1 file
+ 4
0
Compare changes
  • Side-by-side
  • Inline
@@ -37,6 +37,10 @@ def create_dast_associations
@@ -37,6 +37,10 @@ def create_dast_associations
error(response.errors.join(', '), config_error: true) if response.error?
error(response.errors.join(', '), config_error: true) if response.error?
return if response.error?
return if response.error?
 
rescue ActiveRecord::ActiveRecordError => e
 
::Gitlab::ErrorTracking.track_and_raise_for_dev_exception(e, extra: { pipeline_id: pipeline.id })
 
 
error('Failed to associate DAST profiles')
end
end
end
end
end
end
Loading