PayPal: Fix log level

This commit is contained in:
Raphael Michel
2023-12-22 13:58:18 +01:00
parent 7087f783e6
commit d3457ce5b6

View File

@@ -42,7 +42,7 @@ class LogOnRetry(Retry):
try:
return super().increment(method, url, response, error, _pool, _stacktrace)
except MaxRetryError:
logger.warning(f'PayPal2 Retry failed {logstr} after {len(self.history)} attempts')
logger.error(f'PayPal2 Retry failed {logstr} after {len(self.history)} attempts')
raise