Key Error Updating Logger
Open
- Dominant language
- Python
- Stars
- 938
- Forks
- 162
- PR merge metrics
- No merged PRs in 30d
Description
Branch: develop/1.1
```
self.cf_options[k]["previous"].append(self.cf_options[k]["current"])
KeyError: 'previous'
```
caused by logger options not having a `previous` key, https://github.com/Azure/counterfit/blob/ff4f3c7c593856830e5a9b07bd1627f71fbcfc61/counterfit/core/options.py#L27
Fix:
```python
"logger": {
"default": "basic",
"current": "basic",
"previous": [],
"docs": "Logger to log queries with"
}
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.