Don't use Exception.message in warn log (python3)