Improve error output from Platform.sh API calls.