syarra/pyOpt-pyIPOPT — comment on commit 45b579fb7c1a7d6a9131f8d9b426325beecbd462
File: pyIPOPT/pyIPOPT.py line 25
By dpo:

I think you should remove the try...except because as it is, the exception is not thrown. The 'print' executes and then the program goes on.