Better error message
This commit is contained in:
parent
4ee51e3ef5
commit
4b404c1de1
|
@ -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…
Reference in New Issue