結果 : how to log exception message in python