message: Only record non retriable error for join session refresh
diff: @@ -21,7 +21,7 @@ import {
  IDocumentServicePolicies,
  DriverErrorType,
  } from "@fluidframework/driver-definitions";
  -import { DeltaStreamConnectionForbiddenError, NonRetryableError } from "@fluidframework/driver-utils";
  +import { canRetryOnError, DeltaStreamConnectionForbiddenError, NonRetryableError } from "@fluidframework/driver-utils";
  import { IFacetCodes } from "@fluidframework/odsp-doclib-utils";
  import {
  IClient,
  @@ -415,12 +415,16 @@ export class OdspDocumentService implements IDocumentService {
  if (response.refreshAfterDeltaMs > 0) {
  this.scheduleJoinSessionRefresh(response.refreshAfterDeltaMs)
  .catch((error) => {
  + const canRetry = canRetryOnError(error);
  + // Only record error event in case it is non retriable.
  + if (!canRetry) {
  this.mc.logger.sendErrorEvent({
  eventName: "JoinSessionRefreshError",
  details: JSON.stringify(props),
  },
  error,
  );
  + }
  });
  } else {
  // Logging just for informational purposes to help with debugging as this is a new feature.
  