summaryrefslogtreecommitdiff
path: root/lib/gitlab/prometheus.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gitlab/prometheus.rb')
-rw-r--r--lib/gitlab/prometheus.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/prometheus.rb b/lib/gitlab/prometheus.rb
index aa9810c5c41..8827507955d 100644
--- a/lib/gitlab/prometheus.rb
+++ b/lib/gitlab/prometheus.rb
@@ -55,7 +55,7 @@ module Gitlab
rescue OpenSSL::SSL::SSLError
raise PrometheusError, "#{url} contains invalid SSL data"
rescue HTTParty::Error
- raise PrometheusError, "An error has ocurred"
+ raise PrometheusError, "Network connection error"
end
def handle_response(response)