mirror of
https://github.com/invariantlabs-ai/invariant-gateway.git
synced 2026-05-16 12:59:29 +02:00
14 lines
321 B
Python
14 lines
321 B
Python
"""Validates the ProxyConfigManager configuration."""
|
|
|
|
import sys
|
|
|
|
from common.config_manager import ProxyConfigManager
|
|
|
|
try:
|
|
_ = ProxyConfigManager.get_config()
|
|
print("ProxyConfig validated successfully.")
|
|
sys.exit(0)
|
|
except Exception as e:
|
|
print(f"Error loading ProxyConfig error: {e}")
|
|
sys.exit(1)
|