overleaf/services/real-time/app/coffee
Jakob Ackermann 5f7841526f [misc] RoomManager: emitOnCompletion: properly handle Promise rejections
```
result = Promise.all([<Promise that rejects eventually>]) # rejection 1
result.then () -> RoomEvents.emit(eventName)              # rejection 2
result.catch (err) -> RoomEvents.emit(eventName, err)     # handle r1
```
As shown above, the second rejection remains unhandled. The fix is to
 chain the `.catch()` onto the `.then()` Promise.
2020-06-17 09:29:12 +01:00
..
AuthorizationManager.coffee
ChannelManager.coffee
ConnectedUsersManager.coffee
DocumentUpdaterController.coffee
DocumentUpdaterManager.coffee
DrainManager.coffee
Errors.coffee
EventLogger.coffee
HealthCheckManager.coffee
HttpApiController.coffee [HttpApiController] implement the disconnection of a single client 2020-06-09 18:01:08 +01:00
HttpController.coffee [HttpController] return 404 in case of a missing client and add tests 2020-06-10 09:41:36 +01:00
RedisClientManager.coffee
RoomManager.coffee [misc] RoomManager: emitOnCompletion: properly handle Promise rejections 2020-06-17 09:29:12 +01:00
Router.coffee Merge pull request #153 from overleaf/jpa-backport-drainmanager-tests 2020-06-10 11:28:08 +02:00
SafeJsonParse.coffee
SessionSockets.coffee [misc] vendor a patched session.socket.io middleware 2020-06-09 15:21:33 +01:00
Utils.coffee
WebApiManager.coffee
WebsocketController.coffee
WebsocketLoadBalancer.coffee