Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Yannan authored and Yannan committed May 24, 2023
1 parent cdc5f44 commit d781676
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,7 @@ export class ConnectionTestDataState {
runtime: Runtime;
}): GeneratorFn<void> {
try {
this.generatingTestDataState.inProgress();
// NOTE: since we don't have a generic mechanism for test-data generation
// we will only report metrics around API usage, when we genericize, we will
// move this out
Expand Down Expand Up @@ -280,6 +281,8 @@ export class ConnectionTestDataState {
`Unable to generate test data: ${error.message}`,
);
this.generatingTestDataState.fail();
} finally {
this.generatingTestDataState.complete();
}
}

Expand Down

0 comments on commit d781676

Please sign in to comment.