Change raise to fail to satisfy Travis build