mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-20 13:08:31 +02:00
Ensure full error message is output
This commit is contained in:
parent
c121179dcb
commit
7ecdb9c9da
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ def cli(manual_args=None):
|
||||||
return run(args)
|
return run(args)
|
||||||
|
|
||||||
except JrnlError as e:
|
except JrnlError as e:
|
||||||
print(e, file=sys.stderr)
|
print(e.message, file=sys.stderr)
|
||||||
return 1
|
return 1
|
||||||
|
|
||||||
except KeyboardInterrupt:
|
except KeyboardInterrupt:
|
||||||
|
|
Loading…
Add table
Reference in a new issue