Author: dmeyer
Date: Wed Apr 18 18:08:54 2007
New Revision: 2639

Modified:
   trunk/beacon/src/server/parser.py

Log:
use log.exception for imlib2 errors

Modified: trunk/beacon/src/server/parser.py
==============================================================================
--- trunk/beacon/src/server/parser.py   (original)
+++ trunk/beacon/src/server/parser.py   Wed Apr 18 18:08:54 2007
@@ -209,7 +209,7 @@
                     img = 
kaa.imlib2.open_from_memory(metadata.get('thumbnail'))
                     t.set(img, thumbnail.NORMAL)
                 except (ValueError, IOError):
-                    log.error('image thumbnail')
+                    log.exception('image thumbnail')
 
     else:
         base = os.path.splitext(item.filename)[0]
@@ -226,7 +226,7 @@
                     produced_load = 2
                     t.image = 
kaa.imlib2.open_from_memory(metadata['thumbnail'])
                 except (ValueError, IOError):
-                    log.error('raw thumbnail')
+                    log.exception('raw thumbnail')
 
         for ext in ('.jpg', '.png'):
             if os.path.isfile(base + ext):

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to