mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05: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:
parent
327f8979b6
commit
f01df58a04
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue