Travis error handling fix