in awslambdaric/lambda_runtime_log_utils.py [0:0]
def __format_stacktrace(exc_info): if not exc_info: return None return traceback.format_tb(exc_info[2])