Fixed error handling in QuadraticConstraints.py
Merge branch 'master' into unstable