Skip to content

Commit 85aa0af

Browse files
committed
aws#22 - Cleaning up changes for PR.
1 parent f2bbb3a commit 85aa0af

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

awslambdaric/lambda_runtime_client.py

+1-7
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,6 @@
88
from awslambdaric import __version__
99
from .lambda_runtime_exception import FaultException
1010

11-
logging.basicConfig(
12-
format="%(asctime)s %(levelname)s %(name)s %(threadName)s : %(message)s",
13-
level=logging.INFO,
14-
)
15-
1611
def _user_agent():
1712
py_version = (
1813
f"{sys.version_info.major}.{sys.version_info.minor}.{sys.version_info.micro}"
@@ -26,8 +21,7 @@ def _user_agent():
2621

2722
runtime_client.initialize_client(_user_agent())
2823
except ImportError as import_error:
29-
logging.fatal('Failed to import "runtime_client" module. %s', import_error)
30-
raise import_error
24+
logging.fatal('Failed to import "runtime_client" cpp file. %s', import_error)
3125

3226
from .lambda_runtime_marshaller import LambdaMarshaller
3327

0 commit comments

Comments
 (0)