]> cat aescling's git repositories - mastodon.git/commit
Change streaming server error messages when failing to parse client input (#17559)
authorClaire <claire.github-309c@sitedethib.com>
Wed, 16 Feb 2022 13:37:26 +0000 (14:37 +0100)
committerGitHub <noreply@github.com>
Wed, 16 Feb 2022 13:37:26 +0000 (14:37 +0100)
commit6ea80ba2a22aaeae4f773b28b33168395c5297af
treeb9e12b6a506b290b124671c33f926902b7f2f45f
parent8f537a116802ee39727d8b6c286883b9440ab51a
Change streaming server error messages when failing to parse client input (#17559)

Fixes #17541

- prefix JSON parsing error message by “Error parsing message from …”
- output user id if a user is logged in, IP address otherwise
- reduce log level from error to warning when a user is logged in, and to silly
  otherwise
streaming/index.js