Skip to content

Commit

Permalink
Add error log in telemetry.
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-alhuang committed May 13, 2024
1 parent 7de3582 commit 616afa5
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,11 @@ private void createWorkers() {
e.getMessage(),
getStackTrace(e));
logger.logError(errorMessage);
if (this.owningClient.getTelemetryService() != null) {
this.owningClient
.getTelemetryService()
.reportClientFailure(this.getClass().getSimpleName(), errorMessage);
}
}
},
0,
Expand Down

0 comments on commit 616afa5

Please sign in to comment.