backtrace-service
Advanced tools
Comparing version 1.1.3 to 1.1.4
@@ -138,6 +138,7 @@ "use strict"; | ||
logger('error', request.ip + ": missing internal params token: " + token + " || url: " + url); | ||
response.status(500).send({ | ||
response.status(400).send({ | ||
status: 'error', | ||
error: 'internal error', | ||
}); | ||
return; | ||
} | ||
@@ -144,0 +145,0 @@ // let result: AxiosResponse<IServerConfiguration>; |
{ | ||
"name": "backtrace-service", | ||
"version": "1.1.3", | ||
"version": "1.1.4", | ||
"description": "Common tools for Backtrace Node services", | ||
@@ -5,0 +5,0 @@ "author": "Backtrace", |
@@ -115,6 +115,7 @@ import axios, { AxiosResponse } from 'axios'; | ||
logger('error', `${request.ip}: missing internal params token: ${token} || url: ${url}`); | ||
response.status(500).send({ | ||
response.status(400).send({ | ||
status: 'error', | ||
error: 'internal error', | ||
}); | ||
return; | ||
} | ||
@@ -121,0 +122,0 @@ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
58422
1048
0