#304 avoid throwing an error when logging 404