Change to catch the top level httpx exception. The current exception type will catch some request errors (eg timeouts) but will not catch http status errors (eg 500 errors). Changing the error type here will allow users to more easily handle spurious errors of this type.
Change to catch the top level httpx exception. The current exception type will catch some request errors (eg timeouts) but will not catch http status errors (eg 500 errors). Changing the error type here will allow users to more easily handle spurious errors of this type.