Extract the enclosing function name that threw the error when catching errors for logging
Extract the enclosing function name that threw the error when catching errors for logging