@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 +1 -1
- package/src/commands/scan.js +1 -1
package/package.json
CHANGED
package/src/commands/scan.js
CHANGED
|
@@ -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
|
}
|