@misterhuydo/sentinel 1.0.60 → 1.0.61
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/python/sentinel/main.py +7 -0
package/package.json
CHANGED
package/python/sentinel/main.py
CHANGED
|
@@ -553,6 +553,13 @@ async def run_loop(cfg_loader: ConfigLoader, store: StateStore):
|
|
|
553
553
|
for key in ("repos", "cairn", "ssh")
|
|
554
554
|
for item in results[key]
|
|
555
555
|
)
|
|
556
|
+
for key in ("repos", "cairn", "ssh"):
|
|
557
|
+
for item in results[key]:
|
|
558
|
+
if item["status"] == "error":
|
|
559
|
+
logger.warning("Startup check failed [%s] %s: %s",
|
|
560
|
+
key, item.get("name", ""), item.get("message", ""))
|
|
561
|
+
for w in results.get("warnings", []):
|
|
562
|
+
logger.warning("Startup warning: %s", w)
|
|
556
563
|
if has_errors:
|
|
557
564
|
logger.warning("Startup completed with errors — check config and logs")
|
|
558
565
|
else:
|