Files
overleaf-cep/services/real-time
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
..
2019-01-08 14:28:10 +00:00
2020-06-03 09:12:21 +01:00
2020-06-03 09:12:21 +01:00
2020-06-03 09:12:21 +01:00
2020-06-03 09:12:21 +01:00
2020-05-28 16:09:27 +02:00