From 7ecdb9c9da8fc52998fc028eb06b4205b1064e67 Mon Sep 17 00:00:00 2001 From: Micah Jerome Ellison Date: Sat, 2 Jan 2021 14:52:53 -0800 Subject: [PATCH] Ensure full error message is output --- jrnl/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jrnl/cli.py b/jrnl/cli.py index 67109080..93a7e899 100644 --- a/jrnl/cli.py +++ b/jrnl/cli.py @@ -35,7 +35,7 @@ def cli(manual_args=None): return run(args) except JrnlError as e: - print(e, file=sys.stderr) + print(e.message, file=sys.stderr) return 1 except KeyboardInterrupt: