mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 14:13:43 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user