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
|
2021-06-18 08:10:03 -04:00
|
|
|
https://gitlab.com/gitlab-org/gitlab/-/issues/new
|
2019-12-22 04:07:51 -05:00
|
|
|
NOTICE
|
|
|
|
Gitlab::AppLogger.error(message)
|
|
|
|
Gitlab::ErrorTracking.track_exception(e)
|
|
|
|
end
|