diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-09-23 12:09:51 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-09-23 12:09:51 +0300 |
commit | 66e4d1bf78b3ec2075135173b12767692ced242c (patch) | |
tree | 1ea67cbc46ee2c6b61e0872699a89f0fb600bef1 /app/helpers | |
parent | 1d659e434d7c966a8a0c27fb17dc36d80ae70180 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/helpers')
-rw-r--r-- | app/helpers/routing/pseudonymization_helper.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/helpers/routing/pseudonymization_helper.rb b/app/helpers/routing/pseudonymization_helper.rb index 1d9320f0106..e8202a4fb82 100644 --- a/app/helpers/routing/pseudonymization_helper.rb +++ b/app/helpers/routing/pseudonymization_helper.rb @@ -6,7 +6,8 @@ module Routing return unless Feature.enabled?(:mask_page_urls, type: :ops) mask_params(Rails.application.routes.recognize_path(request.original_fullpath)) - rescue ActionController::RoutingError, URI::InvalidURIError + rescue ActionController::RoutingError, URI::InvalidURIError => e + Gitlab::ErrorTracking.track_exception(e, url: request.original_fullpath) nil end |