RichMedia: do not log webpages missing metadata as errors
authorrinpatch <rinpatch@sdf.org>
Sat, 5 Sep 2020 19:00:51 +0000 (22:00 +0300)
committerrinpatch <rinpatch@sdf.org>
Sat, 5 Sep 2020 19:05:35 +0000 (22:05 +0300)
commit170599c390e7c82bdff0d4180d04b2f0f3906f35
treebd07bcd17e959bb764d4a5af77df1f96b00ad7e8
parent047a60c46e11b68abfe710a895f4a9c134b951e8
RichMedia: do not log webpages missing metadata as errors

Also fixes the return value of Parser.parse on errors, previously
was just `:ok` due to the logger call in the end
lib/pleroma/web/rich_media/parser.ex
test/web/rich_media/parser_test.exs