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

commit 04f14f15a9a9364e18c61f68acdaa241a470186b
Author: Dave Brondsema <[email protected]>
AuthorDate: Fri Oct 15 16:07:02 2021 +0000

    Log more details about image failures
---
 Allura/allura/model/filesystem.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Allura/allura/model/filesystem.py 
b/Allura/allura/model/filesystem.py
index 32d3296..e7f8d35 100644
--- a/Allura/allura/model/filesystem.py
+++ b/Allura/allura/model/filesystem.py
@@ -218,7 +218,7 @@ class File(MappedClass):
                     image.save(fp_w, format, save_all=save_anim, 
optimize=True, **save_kwargs)
                 except Exception as e:
                     session(original).expunge(original)
-                    log.error('Error saving image %s %s', filename, e)
+                    log.exception('Error saving image %s %s %s', filename, 
content_type, format)
                     return None, None
         else:
             original = None

Reply via email to