mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 03:25:12 +01:00
fix flood issue when back-filling isn't available
This commit is contained in:
parent
9e8d1ed290
commit
843f4fa0f7
@ -36,6 +36,9 @@ export class GapTile extends SimpleTile {
|
||||
console.error(`timeline.fillGap(): ${err.message}:\n${err.stack}`);
|
||||
this._error = err;
|
||||
this.emitChange("error");
|
||||
// rethrow so caller of this method
|
||||
// knows not to keep calling this for now
|
||||
throw err;
|
||||
} finally {
|
||||
this._loading = false;
|
||||
this.emitChange("isLoading");
|
||||
|
Loading…
Reference in New Issue
Block a user