結果 : how to log exception in python