forked from mystiq/hydrogen-web
show full stack on sync error
This commit is contained in:
parent
a09c3e7bed
commit
b47898e025
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue