demote logging.error since it creates an error in StackDriver Error Reporting

thib
Ryan Barrett 2020-05-19 08:08:12 -07:00
rodzic 46067640b6
commit bddab29420
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 6BE31FDF4776E9D4
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -112,7 +112,7 @@ def get_as2(url):
"""
def _error(resp):
msg = "Couldn't fetch %s as ActivityStreams 2" % url
logging.error(msg)
logging.warning(msg)
err = exc.HTTPBadGateway(msg)
err.response = resp
raise err