diff options
| author | Eugene Triguba <eugenetriguba@gmail.com> | 2023-04-22 21:45:02 -0400 |
|---|---|---|
| committer | Eugene Triguba <eugenetriguba@gmail.com> | 2023-04-22 21:45:02 -0400 |
| commit | 4e08e6d139849c6f668437e6bc87cdf3784b38ee (patch) | |
| tree | 402b2eb064dec09e005dc77095f9cab945677ff5 | |
| parent | Add usage of app IO to task runner (diff) | |
| download | taskipy2-4e08e6d139849c6f668437e6bc87cdf3784b38ee.zip | |
Use str(e) instead of e.message
| -rwxr-xr-x | taskipy/cli.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/taskipy/cli.py b/taskipy/cli.py index 3f2babf..48fb634 100755 --- a/taskipy/cli.py +++ b/taskipy/cli.py @@ -52,10 +52,10 @@ def run( return runner.run(parsed_args.name, parsed_args.args) except TaskipyError as e: - io.write_line(e.message) + io.write_line(str(e)) return e.exit_code except Exception as e: - io.write_line(e.message) + io.write_line(str(e)) return 1 |