message: Correct fix to BentleyCloudGatewayProtocol error-handling
diff: @@ -42,7 +42,7 @@ export abstract class BentleyCloudGatewayProtocol extends GatewayHttpProtocol {
  const status = 500;
  Logger.logInfo(loggingCategory, "BentleyCloudGatewayProtocol.backend.error", () => ({ method, path, status, error }));
  const errstr = (error instanceof Error) ? `${error.toString()} ${error.stack}`
  - : error.hasOwnMember("message") ? error.message
  + : error.hasOwnProperty("message") ? error.message
  : JSON.stringify(error);
  res.status(status).send(errstr);
  }
  