Ignore:
Timestamp:
12/27/12 08:04:59 (11 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
default
hg-Phase:
(<MercurialRepository 1 'hg:/home/ivaradi/mlx/hg' '/'>, 'public')
Message:

The exception strings are converted from UTF-8 to unicode for proper logging (re #170)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mlx/web.py

    r326 r401  
    465465            self._callback(returned, result)
    466466        except Exception, e:
    467             print >> sys.stderr, "web.Handler.Request.perform: callback throwed an exception: " + str(e)
     467            print >> sys.stderr, "web.Handler.Request.perform: callback throwed an exception: " + util.utf2unicode(str(e))
    468468            traceback.print_exc()
    469469
Note: See TracChangeset for help on using the changeset viewer.