[ticket/12074] Don't log errors

PHPBB3-12074