2019-12-22 04:07:51 -05:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
begin
|
2019-12-27 13:08:12 -05:00
|
|
|
Gitlab::Runtime.identify
|
|
|
|
rescue Gitlab::Runtime::IdentificationError => e
|
2019-12-22 04:07:51 -05:00
|
|
|
message = <<-NOTICE
|
|
|
|
\n!! RUNTIME IDENTIFICATION FAILED: #{e}
|
|
|
|
Runtime based configuration settings may not work properly.
|
|
|
|
If you continue to see this error, please file an issue via
|
|
|
|
https://gitlab.com/gitlab-org/gitlab/issues/new
|
|
|
|
NOTICE
|
|
|
|
Gitlab::AppLogger.error(message)
|
|
|
|
Gitlab::ErrorTracking.track_exception(e)
|
|
|
|
end
|