lib/wss_agent/configure.rb in wss_agent-0.0.26 vs lib/wss_agent/configure.rb in wss_agent-17.12.2
- old
+ new
@@ -52,10 +52,9 @@
@url = current['url']
if @url.nil? || @url == ''
raise ApiUrlNotFound, WssAgentError::CANNOT_FIND_URL
end
URI(@url)
-
rescue URI::Error
raise ApiUrlInvalid, WssAgentError::URL_INVALID
end
def port