Project Version
0.16.0
Python Version
3.12, 3.13, 3.14
Operating System
Linux, macOS
Steps to Reproduce
-
Use the etc/docbuild/env.example.toml and changing server.enable_mail from true to True. This will introduce a syntax issue.
-
Run docbuild with
docbuild --env-config=env.devel.toml config env
Expected Behavior
There shouldn't be any tracebacks at all. We need to catch the error, present it nicely to the user, and return with a non-zero exit code.
Actual Behavior
When you execute the steps, you receive:
Traceback (most recent call last):
[...]
raise suffixed_err(src, pos, "Invalid value")
tomllib.TOMLDecodeError: Invalid value (at line 10, column 15)
Additional Information
n/a
Project Version
0.16.0
Python Version
3.12, 3.13, 3.14
Operating System
Linux, macOS
Steps to Reproduce
Use the
etc/docbuild/env.example.tomland changingserver.enable_mailfromtruetoTrue. This will introduce a syntax issue.Run
docbuildwithExpected Behavior
There shouldn't be any tracebacks at all. We need to catch the error, present it nicely to the user, and return with a non-zero exit code.
Actual Behavior
When you execute the steps, you receive:
Additional Information
n/a