Skip to content

Commit

Permalink
Update src/plugins/telemetry/server/fetcher.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Alejandro Fernández Haro <[email protected]>
  • Loading branch information
Bamieh and afharo authored Oct 5, 2020
1 parent 81fc5f4 commit ac6d6a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/telemetry/server/fetcher.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ export class FetcherTask {
}

private async areAllCollectorsReady() {
return await this.telemetryCollectionManager!.areAllCollectorsReady();
return (await this.telemetryCollectionManager?.areAllCollectorsReady()) ?? false;
}

private async sendIfDue() {
Expand Down

0 comments on commit ac6d6a2

Please sign in to comment.