Project export failure email errors fails with undefined method `each' for #<String:0x007f8c484347f8>
https://sentry.gitlap.com/gitlab/gitlabcom/issues/7569/
NoMethodError: undefined method `each' for #<String:0x007f8c484347f8>
app/views/notify/project_was_not_exported_email.html.haml:7:in `_app_views_notify_project_was_not_exported_email_html_haml___2332695314652990341_70120444090160'
- @errors.each do |error|
app/mailers/emails/projects.rb:21:in `project_was_not_exported_email'
mail(to: current_user.notification_email,
lib/gitlab/metrics/instrumentation.rb:152:in `block in project_was_not_exported_email'
trans.measure_method(#{label.inspect}) { super }
lib/gitlab/metrics/method_call.rb:23:in `measure'
retval = yield
lib/gitlab/metrics/transaction.rb:71:in `measure_method'
@methods[name].measure(&block)
...
(120 additional frame(s) were not displayed)
ActionView::Template::Error: undefined method `each' for #<String:0x007f8c484347f8>
app/views/notify/project_was_not_exported_email.html.haml:7:in `_app_views_notify_project_was_not_exported_email_html_haml___2332695314652990341_70120444090160'
- @errors.each do |error|
app/mailers/emails/projects.rb:21:in `project_was_not_exported_email'
mail(to: current_user.notification_email,
lib/gitlab/metrics/instrumentation.rb:152:in `block in project_was_not_exported_email'
trans.measure_method(#{label.inspect}) { super }
lib/gitlab/metrics/method_call.rb:23:in `measure'
retval = yield
lib/gitlab/metrics/transaction.rb:71:in `measure_method'
@methods[name].measure(&block)
...
(120 additional frame(s) were not displayed)