slnodejs 6.2.5 → 6.2.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -967,7 +967,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
967
967
  "use strict";
968
968
  Object.defineProperty(exports, "__esModule", { value: true });
969
969
  exports.SL_AGENT_TYPE = exports.SL_AGENT_VERSION = void 0;
970
- exports.SL_AGENT_VERSION = '6.2.5';
970
+ exports.SL_AGENT_VERSION = '6.2.6';
971
971
  exports.SL_AGENT_TYPE = 'browser';
972
972
  });
973
973
 
@@ -8175,10 +8175,10 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
8175
8175
  let slMapping = [];
8176
8176
  try {
8177
8177
  const url = sl_routes_1.SLRoutes.blobsForBsidAsJson(buildSessionId, blobType);
8178
- slMapping = yield this.submitGetRequestWithRetries(url);
8178
+ slMapping = yield this.submitGetRequestWithRetries(url, undefined, undefined, undefined, false);
8179
8179
  }
8180
8180
  catch (e) {
8181
- this.logger.error(e);
8181
+ this.logger.warn(e.message);
8182
8182
  }
8183
8183
  return slMapping;
8184
8184
  });
@@ -8703,7 +8703,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
8703
8703
  let errorMessage = `Server returned: ${statusCode} status code from ${requestDescription}`;
8704
8704
  try {
8705
8705
  if (body)
8706
- errorMessage += Object.entries(JSON.parse(body))
8706
+ errorMessage += Object.entries(typeof body === 'string' ? JSON.parse(body) : body)
8707
8707
  .map(([key, val]) => `\n\t${key}: ${val}`)
8708
8708
  .join('');
8709
8709
  }