@eurekadevsecops/radar 1.9.1 → 1.9.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eurekadevsecops/radar",
3
- "version": "1.9.1",
3
+ "version": "1.9.2",
4
4
  "description": "Radar is an open-source orchestrator of security scanners.",
5
5
  "homepage": "https://www.eurekadevsecops.com/radar",
6
6
  "keywords": [
@@ -201,7 +201,7 @@ module.exports = {
201
201
  catch (error) {
202
202
  log(`\n${error}`)
203
203
  if (!args.QUIET) log('Scan NOT completed!')
204
- if (telemetry.enabled && !args.LOCAL) {
204
+ if (telemetry.enabled && scanID && !args.LOCAL) {
205
205
  const res = await telemetry.send(`scans/:scanID/failed`, { scanID })
206
206
  if (!res.ok) log(`WARNING: Scan status (not completed) telemetry upload failed: [${res.status}] ${res.statusText}: ${await res.text()}`)
207
207
  }