We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a3365ba commit 654783cCopy full SHA for 654783c
src/app.ts
@@ -126,8 +126,7 @@ export class App extends LitElement {
126
127
// Spot check if the format is as expected.
128
if (this.records.length && this.records[0].bugIds == null) {
129
- this.error = "Unexpected or outdated format.";
130
- return;
+ throw new Error("Unexpected or outdated format.");
131
}
132
// Sort so most recently modified records are at the top.
133
this.records.sort((a, b) => b.last_modified - a.last_modified);
0 commit comments