Handling exception: ignore

Ignore exception

try:
    print(invalid-variable)
except Exception:
    pass

print("Exception ignored")
Exception ignored