Cleanup: Use logging.exception

This is the last one in Pootle code that needs to be changed.
Cleanup: use `logging.exception()`