mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 11:35:04 +01:00
ignore abort error
This commit is contained in:
parent
919357b474
commit
163ca12854
@ -196,7 +196,9 @@ export class Sync {
|
|||||||
// avoid corrupting state by only
|
// avoid corrupting state by only
|
||||||
// storing the sync up till the point
|
// storing the sync up till the point
|
||||||
// the exception occurred
|
// the exception occurred
|
||||||
|
try {
|
||||||
syncTxn.abort();
|
syncTxn.abort();
|
||||||
|
} catch (abortErr) { /* ignore when we can't abort */ }
|
||||||
throw err;
|
throw err;
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
|
Loading…
Reference in New Issue
Block a user