Make exc_info an optional parameter.