diff options
Diffstat (limited to 'app/models/ci/build.rb')
-rw-r--r-- | app/models/ci/build.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/models/ci/build.rb b/app/models/ci/build.rb index 8bc75b6c164..e515447e394 100644 --- a/app/models/ci/build.rb +++ b/app/models/ci/build.rb @@ -982,6 +982,8 @@ module Ci jwt = Gitlab::Ci::Jwt.for_build(self) variables.append(key: 'CI_JOB_JWT', value: jwt, public: false, masked: true) + rescue OpenSSL::PKey::RSAError => e + Gitlab::ErrorTracking.track_exception(e) end end end |