vovk-cli 0.0.1-draft.308 → 0.0.1-draft.309

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.
@@ -264,8 +264,8 @@ export class VovkDev {
264
264
  const probableCause = {
265
265
  404: 'The segment did not compile or config.origin is wrong.',
266
266
  }[resp.status];
267
- const MAX_RESP_CHARS = 200;
268
- log.warn(`Schema request to ${endpoint} for ${formatLoggedSegmentName(segmentName)} failed with status code ${resp.status} but expected 200.${probableCause ? ` Probable cause: ${probableCause}` : ''}. Response: ${text.length > MAX_RESP_CHARS ? text.slice(0, MAX_RESP_CHARS) + `... and ${text.length - MAX_RESP_CHARS} more characters` : text}`);
267
+ log.warn(`Schema request to ${endpoint} for ${formatLoggedSegmentName(segmentName)} failed with status code ${resp.status} but expected 200.${probableCause ? ` Probable cause: ${probableCause}` : ''}. Response text will be logged below on "debug" level.`);
268
+ log.debug(`Response from ${formatLoggedSegmentName(segmentName)}: ${text}`);
269
269
  return { isError: true };
270
270
  }
271
271
  let segmentSchema = null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vovk-cli",
3
- "version": "0.0.1-draft.308",
3
+ "version": "0.0.1-draft.309",
4
4
  "bin": {
5
5
  "vovk": "./dist/index.mjs"
6
6
  },