diff --git a/lib/datadog/ci/git/local_repository.rb b/lib/datadog/ci/git/local_repository.rb index db5e54e4..dcab517c 100644 --- a/lib/datadog/ci/git/local_repository.rb +++ b/lib/datadog/ci/git/local_repository.rb @@ -37,9 +37,7 @@ def self.repository_name @repository_name = last_path_segment.gsub(".git", "") if last_path_segment @repository_name ||= current_folder_name rescue => e - Datadog.logger.debug( - "Unable to get git remote: #{e.class.name} #{e.message} at #{Array(e.backtrace).first}" - ) + log_failure(e, "git repository name") @repository_name = current_folder_name end