- Timestamp:
- 01/27/10 17:20:36 (6 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
branches/0.9/pylucid_project/middlewares/pylucid_objects.py
r2433 r2508 47 47 return 48 48 49 # cut exception message text to LogEntry.message max_length, to get no "Data truncated..." warning 50 message = str(exception)[:255] 51 49 52 LogEntry.objects.log_action( 50 app_label="pylucid", action="PyLucidMiddleware.process_exception()", message= str(exception),53 app_label="pylucid", action="PyLucidMiddleware.process_exception()", message=message, 51 54 long_message=traceback.format_exc() 52 55 )