mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-22 19:14:52 +01:00
log when we can't abort
This commit is contained in:
parent
c1df371a14
commit
bebdaad7d4
@ -198,7 +198,9 @@ export class Sync {
|
|||||||
// the exception occurred
|
// the exception occurred
|
||||||
try {
|
try {
|
||||||
syncTxn.abort();
|
syncTxn.abort();
|
||||||
} catch (abortErr) { /* ignore when we can't abort */ }
|
} catch (abortErr) {
|
||||||
|
console.error("Could not abort sync transaction, the sync response was probably only partially written and may have put storage in a inconsistent state.", abortErr);
|
||||||
|
}
|
||||||
throw err;
|
throw err;
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
|
Loading…
Reference in New Issue
Block a user