forked from conda/conda
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Modify
ExceptionHandler.write_out
to properly show errors (conda#11746
) `ExceptionHandler.write_out` writes out to the `conda.stderr` logger. If an exception occurs during `argparse` startup or during argument parsing then the logger is uninitialized and the exception handler ends up writing into the void. Avoid this by (re-)initializing the loggers before writing to the logger. Co-authored-by: Ken Odegard <[email protected]>
- Loading branch information
1 parent
ccc6fbc
commit d70d318
Showing
2 changed files
with
32 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
### Enhancements | ||
|
||
* <news item> | ||
|
||
### Bug fixes | ||
|
||
* Ensure that exceptions that are raised show up properly instead of resulting in a random [y/N] prompt (#11746) | ||
|
||
### Deprecations | ||
|
||
* <news item> | ||
|
||
### Docs | ||
|
||
* <news item> | ||
|
||
### Other | ||
|
||
* <news item> |