Fix : Overriding logger.error

Don't drink and code please! :)

You bug was pep8 compliant, it's not that bad ! :dancers: