When executing Google Play API request fails with oauth2client.client.Error then the called action fails unexpectedly. For example:
$ google-play get-latest-build-number --package-name "com.example.app" --tracks "internal"
Get package "com.example.app" latest build number from track "internal"
Executing "google-play get-latest-build-number" failed unexpectedly. Detailed logs are available at "/var/folders/w2/rrf5p87d1bbfyphxc7jdnyvh0000gn/T/codemagic-29-11-23.log". To see more details about the error, add "--verbose" command line option.
Needless to say that this is cryptic for users and difficult to act upon. As a workaround handle those errors similarly to errors from googleapiclient.errors.
When executing Google Play API request fails with
oauth2client.client.Error
then the called action fails unexpectedly. For example:Needless to say that this is cryptic for users and difficult to act upon. As a workaround handle those errors similarly to errors from
googleapiclient.errors
.Updated actions:
google-play