This should be in try except block. See travis log.