fix flood issue when back-filling isn't available

This commit is contained in:
Bruno Windels 2020-08-20 15:28:22 +02:00
parent 9e8d1ed290
commit 843f4fa0f7

View file

@ -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");