Print logs
This commit is contained in:
parent
0564885aa6
commit
84ddcaad84
1 changed files with 1 additions and 0 deletions
|
|
@ -36,6 +36,7 @@ print_failed_log() {
|
|||
|
||||
# Only consider non-zero exit codes as failures
|
||||
if [ $exit_code -ne 0 ]; then
|
||||
cat "$(pwd)/logs/log_${i}.log"
|
||||
echo "Process ${pids[$i-1]} failed with exit code $exit_code. Log file: $(pwd)/logs/log_${i}.log"
|
||||
return 0
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue