Skip to content

instance: Handle not getting a favicon

Haelwenn requested to merge bugfix/favicon-none-found into develop

This avoid unreadable and useless logs like [warn] Instance.scrape_favicon("https://mjc3d.com/") error: %FunctionClauseError{args: nil, arity: 1, clauses: nil, function: :parse, kind: nil, module: URI} because no favicon got found and List.first() returned nil which URI.merge (passing 2nd argument to URI.parse) doesn't likes.

Edited by Haelwenn

Merge request reports