Add try_get method to Gitlab::HTTP
Use Gitlab::HTTP.try_get to rescue common HTTP errors. An optional param can be supplied to log extra info.
Showing
Please register or sign in to comment
Use Gitlab::HTTP.try_get to rescue common HTTP errors. An optional param can be supplied to log extra info.