Browse Source

Better error message

master
Shadowfacts 2 months ago
parent
commit
4b404c1de1
Signed by: shadowfacts GPG Key ID: 94A5AB95422746E5
  1. 2
      lib/feed_parser.ex

2
lib/feed_parser.ex

@ -39,7 +39,7 @@ defmodule FeedParser do
parser.parse_feed(result)
false ->
{:error, "no parser matched the given content type and data"}
{:error, "no parser matched the given content type ('#{content_type}') and data"}
end
end
end

Loading…
Cancel
Save