This is an automated email from the ASF dual-hosted git repository.

brondsem pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/allura.git


The following commit(s) were added to refs/heads/master by this push:
     new 596c10b90 include more response text in urlopen error logging
596c10b90 is described below

commit 596c10b9097ee7a800e5b9be5cadd3626da9a47c
Author: Dave Brondsema <dbronds...@slashdotmedia.com>
AuthorDate: Tue Jun 24 13:23:46 2025 -0400

    include more response text in urlopen error logging
---
 Allura/allura/lib/helpers.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Allura/allura/lib/helpers.py b/Allura/allura/lib/helpers.py
index f66193a94..06218ce28 100644
--- a/Allura/allura/lib/helpers.py
+++ b/Allura/allura/lib/helpers.py
@@ -1134,7 +1134,7 @@ def urlopen(url: str | urllib.request.Request, retries=3, 
codes=(408, 500, 502,
                     body = ''
                 log.exception(
                     'Failed after %s retries on url with a timeout of %s: %s: 
%s',
-                    attempts, timeout, url_string, body[:250])
+                    attempts, timeout, url_string, body[:500])
                 raise e
 
 

Reply via email to