Use str(e) instead of e.args[0].