]> git.notmuchmail.org Git - notmuch/blobdiff - devel/nmbug/nmbug-status
nmbug-status: print config errors to stderr
[notmuch] / devel / nmbug / nmbug-status
index a289798e3cc18559584de5cccda81d0f95c4e392..b36b6ad33859d7f8ba4b59381c7d147385878a9d 100755 (executable)
@@ -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>