Merge pull request #2558 from overleaf/bg-add-user-info-to-client-error-reports

add user_id and project_id to client side error reports

GitOrigin-RevId: 3966e9a6c969e198bd333c1ce6687d58b6fa0128
This commit is contained in:
Brian Gough 2020-01-29 15:32:25 +00:00 committed by Copybot
parent 327f8979b6
commit f01df58a04

View file

@ -47,6 +47,8 @@ define(['base'], function(App) {
if (meta == null) {
meta = {}
}
meta.user_id = window.user_id
meta.project_id = window.project_id
meta.client_id = __guard__(
this.socket != null ? this.socket.socket : undefined,
x => x.sessionid