Skip to content

Commit b460b5b

Browse files
committed
Update message
1 parent 9b0d79b commit b460b5b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/endpoint_url.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ def get_url(server_name)
1919

2020
url = File.read(secret_file).chomp
2121
safe_url(url)
22-
rescue Errno::ENOENT, Errno::EACCES
23-
Rails.logger.error 'Failed to read GEOSERVER_URL_FILE'
22+
rescue StandardError => e
23+
Rails.logger.error "[EndpointUrl] Failed to read #{server_name}'s URL from secrets file.#{e.message}"
2424
nil
2525
end
2626

0 commit comments

Comments
 (0)