1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-11-25 05:23:13 +03:00

Raise logging dramatically to chase pending event errors

For https://github.com/vector-im/element-web/issues/17090 and similar issues

This logging is expected to exist no longer than a day.
This commit is contained in:
Travis Ralston
2021-04-28 09:24:19 -06:00
parent 1bba2bc0ed
commit ec26b16ddf
3 changed files with 7 additions and 2 deletions

View File

@@ -2858,7 +2858,8 @@ MatrixClient.prototype._sendCompleteEvent = function(roomId, eventObject, txnId,
}
const type = localEvent.getType();
logger.log(`sendEvent of type ${type} in ${roomId} with txnId ${txnId}`);
// XXX: @@TR: Return to .log (for https://github.com/vector-im/element-web/issues/17090)
logger.trace(`sendEvent of type ${type} in ${roomId} with txnId ${txnId}`);
localEvent.setTxnId(txnId);
localEvent.setStatus(EventStatus.SENDING);