Merge pull request #2723 from overleaf/jpa-fix-scope-in-error-handler
[misc] frontend: ide error reporting handler: fix scoping for socket GitOrigin-RevId: bd9d169191bdf1b6b50805e9564cf50851ad3279
This commit is contained in:
@@ -50,12 +50,12 @@ define(['../../base'], function(App) {
|
||||
meta.user_id = window.user_id
|
||||
meta.project_id = window.project_id
|
||||
meta.client_id = __guard__(
|
||||
this.socket != null ? this.socket.socket : undefined,
|
||||
ide.socket != null ? ide.socket.socket : undefined,
|
||||
x => x.sessionid
|
||||
)
|
||||
meta.transport = __guard__(
|
||||
__guard__(
|
||||
this.socket != null ? this.socket.socket : undefined,
|
||||
ide.socket != null ? ide.socket.socket : undefined,
|
||||
x2 => x2.transport
|
||||
),
|
||||
x1 => x1.name
|
||||
|
||||
Reference in New Issue
Block a user