mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-12-22 09:24:54 +01:00
nmbug-status: print config errors to stderr
Particularly scripted usage with stdout redirection can be confusing if errors are printed to stdout instead of stderr.
This commit is contained in:
parent
7b7dadb93f
commit
018e69f558
1 changed files with 1 additions and 1 deletions
|
@ -318,7 +318,7 @@ args = parser.parse_args()
|
|||
try:
|
||||
config = read_config(path=args.config)
|
||||
except ConfigError as e:
|
||||
print(e)
|
||||
print(e, file=sys.stderr)
|
||||
sys.exit(1)
|
||||
|
||||
header_template = config['meta'].get('header', '''<!DOCTYPE html>
|
||||
|
|
Loading…
Reference in a new issue