add Exception when retrieveToken failed
fix travis