Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Change LogLevel for the Case of URL Preview Website/file exceeding the configured size limit. #5022

@MparkG

Description

@MparkG

Its not really an Error if the url preview spider doesnt load the preview if the file size exceeds the configured limit.. Thats the supposed behaviour.

2019-04-08 00:17:49,354 - synapse.http.client - 543 - ERROR - GET-223- Failed to download body
Traceback (most recent call last):
File "/synapse/http/client.py", line 540, in get_file
_readBodyToFile(response, output_stream, max_size)
synapse.api.errors.SynapseError: 502: Requested file is too large > 5242880 bytes

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-LoggingSynapse's logs (structured or otherwise). Not metrics.z-p2(Deprecated Label)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions