Spaces:
Paused
Paused
File size: 415 Bytes
4beb1ef | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | import logging
import sys
from schema_sync.app import main
if __name__ == "__main__":
logging.basicConfig(level=logging.INFO)
try:
main() # Just call the function, don't try to iterate over it
except KeyboardInterrupt:
print("Shutting down SchemaSync...")
sys.exit(0)
except Exception as e:
logging.error(f"Error starting SchemaSync: {str(e)}")
sys.exit(1)
|