AttributeError: 'NoneType' object has no attribute 'format' - Google Cloud

Viewed 31
1 Answers

It should be

   except requests.exceptions.RequestException as e:
            logger.error('request to currencylayer error: {}'.format(e))
            raise e

Related