Log as error for travis-ci