Exception thrown by the library is not informative enough when is displayed in python console