#!/usr/bin/env python
import sys
import traceback

try:
    import app
    print("✓ App imported successfully")
except SyntaxError as e:
    print(f"SYNTAX ERROR: {e}")
    print(f"Line {e.lineno}: {e.text}")
    traceback.print_exc()
    sys.exit(1)
except Exception as e:
    print(f"ERROR: {type(e).__name__}: {e}")
    traceback.print_exc()
    sys.exit(1)
