express-service-readiness-middleware
Advanced tools
Comparing version 1.0.12 to 1.0.13
@@ -109,6 +109,3 @@ "use strict"; | ||
healthy = await healthyFunc(); | ||
if (healthy) { | ||
informationLogger?.log(`critical dependency '${dependency.name}' is healthy`); | ||
} | ||
informationLogger?.log(`critical dependency '${dependency.name}' is not healthy`); | ||
informationLogger?.log(`critical dependency '${dependency.name}' is ${healthy ? 'healthy' : 'not healthy'}`); | ||
} | ||
@@ -115,0 +112,0 @@ catch (err) { |
{ | ||
"name": "express-service-readiness-middleware", | ||
"version": "1.0.12", | ||
"version": "1.0.13", | ||
"description": "This module provides express middleware for determining whether routes are exposed based on service critical dependency health.", | ||
@@ -5,0 +5,0 @@ "repository": { |
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
22342
263