"default_payload was misconfigured, this value must be a dict" error is noisy · Issue #314 · matrix-org/sygnal · GitHub
More Web Proxy on the site http://driver.im/
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
As of #292 we now check that default_payload is a dictionary before interacting with it. default_payload is a user-supplied dictionary which is set when a client sets up their pusher via POST /_matrix/client/v3/pushers/set.
While we now successfully catch when clients set this value incorrectly, raising an error means that this we get notified via Sentry when it happens - and as this data is user-supplied, we can't really do much about it, making the error noise.
This issue proposes to downgrade the log from an error to a warning. Such instances will then still be logged, but not show up in Sentry/potentially alarm sysadmins.
The text was updated successfully, but these errors were encountered:
Describe the bug
As of #292 we now check that
default_payload
is a dictionary before interacting with it.default_payload
is a user-supplied dictionary which is set when a client sets up their pusher viaPOST /_matrix/client/v3/pushers/set
.While we now successfully catch when clients set this value incorrectly, raising an error means that this we get notified via Sentry when it happens - and as this data is user-supplied, we can't really do much about it, making the error noise.
This issue proposes to downgrade the log from an error to a warning. Such instances will then still be logged, but not show up in Sentry/potentially alarm sysadmins.
The text was updated successfully, but these errors were encountered: