Skip to content

Commit 310ed43

Browse files
committed
Update changelog for version 0.2.1 and fix a coverage issue
1 parent 1a70da9 commit 310ed43

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

CHANGES.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
# 0.2.1 (2026-02-02)
1+
# 0.2.1 (2026-02-04)
22

33
- Add `URIs::HeadCheck`, an OkComputer check that performs a HEAD request
44
to verify the availability of a URL, with optional basic authentication.
5+
- updates Requester to support timeouts values passed to RestClient
56

67
# 0.2.0 (2025-07-24)
78

lib/berkeley_library/util/uris/requester/class_methods.rb

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,7 @@ def get_response(uri, params: {}, headers: {}, log: true, max_retries: MAX_RETRI
4848
timeout: DEFAULT_TIMEOUT_SECONDS)
4949
make_request(:get, uri, params, headers, log, max_retries, max_retry_delay, timeout)
5050
rescue RestClient::Exception => e
51-
return e.response if e.response
52-
53-
raise
51+
e.response
5452
end
5553

5654
# Performs a HEAD request and returns the response, even in the event of

0 commit comments

Comments
 (0)