結果 : python check if exception has message