Fix error handling in processFinalRecords
Fix error handling in processFinalRecords

Current code ignores errors occurred in
processFinalRecords function.

awslabs/lambda-streams-to-firehose,awslabs/lambda-streams-to-firehose