lib/webmention/cli/commands/endpoint.rb in webmention-cli-1.3.0 vs lib/webmention/cli/commands/endpoint.rb in webmention-cli-1.4.0

- old
+ new

@@ -5,10 +5,10 @@ def initialize(url) @url = url end def run - IndieWeb::Endpoints.get(@url).webmention + IndieWeb::Endpoints.get(@url)[:webmention] rescue IndieWeb::Endpoints::ArgumentError, IndieWeb::Endpoints::InvalidURIError => exception raise ArgumentError, exception rescue IndieWeb::Endpoints::IndieWebEndpointsError => exception raise WebmentionEndpointError, exception