@testomatio/reporter 1.5.1 → 1.5.2

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.
@@ -216,10 +216,11 @@ class TestomatioPipe {
216
216
  process.env.runId = this.runId;
217
217
  debug('Run created', this.runId);
218
218
  } catch (err) {
219
+ const errorInfo = `${err?.response?.statusText} ${chalk.red(err?.status)} ${err.message}`;
219
220
  console.error(
220
221
  APP_PREFIX,
221
- 'Error creating Testomat.io report, please check if your API key is valid. Skipping report | ',
222
- err?.response?.statusText || err?.status || err.message,
222
+ 'Error creating Testomat.io report, please check if your API key is valid. Skipping report\n',
223
+ errorInfo || JSON.stringify(err),
223
224
  );
224
225
  printCreateIssue(err);
225
226
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@testomatio/reporter",
3
- "version": "1.5.1",
3
+ "version": "1.5.2",
4
4
  "description": "Testomatio Reporter Client",
5
5
  "main": "./lib/reporter.js",
6
6
  "typings": "typings/index.d.ts",