@firstfleet/fferrorhandler
Advanced tools
+5
-1
@@ -45,3 +45,7 @@ const logger = require('@firstfleet/fflogger'); | ||
| logger.error(appName, methodName, `Error: ${message}\n${messageDetail}`, ''); | ||
| // If the error is related to papertrail connection, we want to avoid an infinite loop of logging errors about not being able to log | ||
| if (message.indexOf('Error connecting to Papertrail') === -1){ | ||
| logger.error(appName, methodName, `Error: ${message}\n${messageDetail}`, ''); | ||
| } | ||
| if (slackChannel) { | ||
@@ -48,0 +52,0 @@ slack.PostToSlack(appName, `${methodName}-${message}`, slackChannel, messageDetail); |
+1
-1
| { | ||
| "name": "@firstfleet/fferrorhandler", | ||
| "version": "2.2.1", | ||
| "version": "2.2.2", | ||
| "description": "handle errors", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 3 instances in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 3 instances in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
75207
0.32%1122
0.27%