Django

Code

Changeset 5315

Show
Ignore:
Timestamp:
05/22/07 03:22:54 (1 year ago)
Author:
mtredinnick
Message:

unicode: Encoded exception data safely in traceback output. Thanks, Thomas
Güttler. Refs #4300.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/branches/unicode/django/views/debug.py

    r5193 r5315  
    126126    c = Context({ 
    127127        'exception_type': exc_type.__name__, 
    128         'exception_value': exc_value, 
     128        'exception_value': smart_unicode(exc_value, errors='replace') 
    129129        'frames': frames, 
    130130        'lastframe': frames[-1],