Menu

Commit [r7835]  Maximize  Restore  History

Use `log.error` instead of `log.exception` for notification errors, as we don't really need a backtrace here, and make this error reporting unicode safe.

This lead to fix most other places where we show exception in the log.
I also replaced the `log.error(..., exc_info=True)` with calls to `exception_to_unicode`, as the former will hide the unicode strings if any, showing "<unprintable Exception object>" instead.

Closes #7935.

cboos 2009-02-07

changed /branches/0.11-stable/trac/attachment.py
changed /branches/0.11-stable/trac/env.py
changed /branches/0.11-stable/trac/loader.py
changed /branches/0.11-stable/trac/ticket/web_ui.py
changed /branches/0.11-stable/trac/timeline/web_ui.py
changed /branches/0.11-stable/trac/util/text.py
changed /branches/0.11-stable/trac/web/main.py
changed /branches/0.11-stable/trac/wiki/formatter.py
/branches/0.11-stable/trac/attachment.py Diff Switch to side-by-side view
Loading...
/branches/0.11-stable/trac/env.py Diff Switch to side-by-side view
Loading...
/branches/0.11-stable/trac/loader.py Diff Switch to side-by-side view
Loading...
/branches/0.11-stable/trac/ticket/web_ui.py Diff Switch to side-by-side view
Loading...
/branches/0.11-stable/trac/timeline/web_ui.py Diff Switch to side-by-side view
Loading...
/branches/0.11-stable/trac/util/text.py Diff Switch to side-by-side view
Loading...
/branches/0.11-stable/trac/web/main.py Diff Switch to side-by-side view
Loading...
/branches/0.11-stable/trac/wiki/formatter.py Diff Switch to side-by-side view
Loading...
Auth0 Logo