mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 11:35:04 +01:00
show full stack on sync error
This commit is contained in:
parent
a09c3e7bed
commit
b47898e025
@ -62,7 +62,7 @@ export default class Sync extends EventEmitter {
|
|||||||
} catch (err) {
|
} catch (err) {
|
||||||
this._isSyncing = false;
|
this._isSyncing = false;
|
||||||
if (!(err instanceof RequestAbortError)) {
|
if (!(err instanceof RequestAbortError)) {
|
||||||
console.warn("stopping sync because of error", err.message);
|
console.error("stopping sync because of error", err.stack);
|
||||||
this.emit("status", "error", err);
|
this.emit("status", "error", err);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user