mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-12-31 22:01:47 +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:
|
try:
|
||||||
config = read_config(path=args.config)
|
config = read_config(path=args.config)
|
||||||
except ConfigError as e:
|
except ConfigError as e:
|
||||||
print(e)
|
print(e, file=sys.stderr)
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
header_template = config['meta'].get('header', '''<!DOCTYPE html>
|
header_template = config['meta'].get('header', '''<!DOCTYPE html>
|
||||||
|
|
Loading…
Reference in a new issue