diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2020-12-10 13:16:06 +0100 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2020-12-10 13:16:06 +0100 |
commit | b7f6276b1d3b9678f9cafa377ec8307845c3446b (patch) | |
tree | c959ad3081ba29e61480f2939d1601b528aac2a8 /config.toml | |
parent | 5225a0130e80793ac6c52c30c82a79c21e4d871a (diff) |
Add more verbose error reporting
This patch adds more verbose error reporting in case of build error.
It alters the Orchestrator::run() interface to return the Job UUID
alongside the error object.
The UUID object can then be (and is) used in the "build" subcommand
implementation to fetch information about the failed job from the
database and print it to the user.
The number of log lines is configurable.
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Diffstat (limited to 'config.toml')
-rw-r--r-- | config.toml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/config.toml b/config.toml index abc9c70..b19288c 100644 --- a/config.toml +++ b/config.toml @@ -15,6 +15,10 @@ progress_format = "[{elapsed_precise}] ({percent:>3}%): {bar:40.cyan/blue} | {ms # Can be overwritten temporarily via CLI script_shebang = "#!/bin/bash" +# The number of log lines to show if a build fails. +# Defaults to 10 +build_error_lines = 10 + # The theme for the highlighting engine when printing the script that ran inside # a container. # |