diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-10-25 09:12:12 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-10-25 09:12:12 +0300 |
commit | 8883fb99dd1cf519ac8c833bd21891073b103419 (patch) | |
tree | 0932d8c49a09cb2f5df00bb846fbee2f84ba559a /app/models/bulk_imports | |
parent | a85b67d51ad8895284babce73736437f9f41304b (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/models/bulk_imports')
-rw-r--r-- | app/models/bulk_imports/failure.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/models/bulk_imports/failure.rb b/app/models/bulk_imports/failure.rb index 44d16618c77..8a6077b523c 100644 --- a/app/models/bulk_imports/failure.rb +++ b/app/models/bulk_imports/failure.rb @@ -15,6 +15,10 @@ class BulkImports::Failure < ApplicationRecord pipeline_relation || default_relation end + def exception_message=(message) + super(::Projects::ImportErrorFilter.filter_message(message).truncate(255)) + end + private def pipeline_relation |