code: def test_log_handle_exception(self, mocked_get_accountId):
      mocked_get_accountId.side_effect = Exception("Internal error")
      _send_telemetry("someStatus", 1, MOCK_SESSION)
      self.assertRaises(Exception)
  
file_path: sagemaker-python-sdk/tests/unit/sagemaker/serve/utils/test_telemetry_logger.py
imports: from __future__ import absolute_import
  import unittest
  from unittest.mock import Mock, patch
  from sagemaker.serve import Mode, ModelServer
  from sagemaker.serve.utils.telemetry_logger import _send_telemetry, _capture_telemetry, _construct_url
  from sagemaker.serve.utils.exceptions import ModelBuilderException, LocalModelOutOfMemoryException
label_desc: Use image node_id 2 for calling the TestTelemetryLogger obj's underlying member method code with example usage: obj.test_log_handle_exception(mocked_get_accountId) without return types