You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-11-29 16:43:09 +03:00
Fix error logging
This commit is contained in:
@@ -394,9 +394,9 @@ export class Backend {
|
||||
const addReq = objectStore.add({
|
||||
senderCurve25519Key, sessionId, session: sessionData,
|
||||
});
|
||||
addReq.onerror = (e) => {
|
||||
addReq.onerror = () => {
|
||||
abortWithException(txn, new Error(
|
||||
"Failed to add inbound group session - session may already exist: " + e,
|
||||
"Failed to add inbound group session - session may already exist: " + addReq.error,
|
||||
));
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user