Skip to content

Conversation

@seankane-msft
Copy link
Contributor

If a environment variable kwarg is not present, the preparer will go to the backup plan of provided preparers if they are provided.

@seankane-msft seankane-msft added the EngSys This issue is impacting the engineering system. label Dec 29, 2020
@seankane-msft seankane-msft self-assigned this Dec 29, 2020
@ghost ghost added the Tables label Dec 29, 2020
@seankane-msft
Copy link
Contributor Author

#15929

@seankane-msft
Copy link
Contributor Author

/azp run python - core - ci

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

raise AzureTestError(template.format(key))
except KeyError as key_error:
if not self._backup_preparers:
raise key_error
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just raise, this is re-raising the latest exception automatically. I believe this is equivalent but convention when you mostly let it go is to just write raise. Though I wonder if the stacktrace is impacted when you put a variable name like key_error in between.

@seankane-msft seankane-msft merged commit bedefda into Azure:master Jan 8, 2021
@seankane-msft seankane-msft deleted the preparer-update branch January 8, 2021 17:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

EngSys This issue is impacting the engineering system. Tables

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants