We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 913ddf2 commit 0dbffb3Copy full SHA for 0dbffb3
2 files changed
CHANGES.rst
@@ -1,5 +1,14 @@
1
.. currentmodule:: click
2
3
+Version 7.1.1
4
+-------------
5
+
6
+Unreleased
7
8
+- Fix ``ClickException`` output going to stdout instead of stderr.
9
+ :issue:`1495`
10
11
12
Version 7.1
13
-----------
14
src/click/exceptions.py
@@ -39,7 +39,7 @@ def __str__(self):
39
def show(self, file=None):
40
if file is None:
41
file = get_text_stderr()
42
- echo("Error: {}".format(self.format_message(), file=file))
+ echo("Error: {}".format(self.format_message()), file=file)
43
44
45
class UsageError(ClickException):
0 commit comments