You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-11-28 05:03:59 +03:00
track errors when events can't send
This commit is contained in:
@@ -937,6 +937,7 @@ function _sendEvent(client, room, event, callback) {
|
||||
|
||||
try {
|
||||
_updatePendingEventStatus(room, event, EventStatus.NOT_SENT);
|
||||
event.error = err;
|
||||
|
||||
if (callback) {
|
||||
callback(err);
|
||||
|
||||
Reference in New Issue
Block a user