We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9b0d79b commit b460b5bCopy full SHA for b460b5b
lib/endpoint_url.rb
@@ -19,8 +19,8 @@ def get_url(server_name)
19
20
url = File.read(secret_file).chomp
21
safe_url(url)
22
- rescue Errno::ENOENT, Errno::EACCES
23
- Rails.logger.error 'Failed to read GEOSERVER_URL_FILE'
+ rescue StandardError => e
+ Rails.logger.error "[EndpointUrl] Failed to read #{server_name}'s URL from secrets file.#{e.message}"
24
nil
25
end
26
0 commit comments