intente excepto keyError

try:
    connection = manager.connect("I2Cx")
except Exception as e:
    print repr(e)
Real Raccoon