mirror of
https://github.com/matrix-org/sliding-sync.git
synced 2025-03-10 13:37:11 +00:00

Thank God for Goland's refactoring tools. This will (untested) associate sentry events from the sync2 part of the code with User IDs and Device IDs, without having to constantly invoke sentry.WithScope(). (Not all of the handler methods currently have that information.) It also leaves the door open for us to include more data on poller sentry reports (e.g. access token hash, time of last token activity on the sync3 side, ...)