結果 : convert exception to string python